mirror of
https://github.com/fcwu/docker-ubuntu-vnc-desktop
synced 2025-12-06 16:32:47 +01:00
Some more docs
This commit is contained in:
parent
b7ee1c3f5c
commit
034a4876f4
1 changed files with 12 additions and 1 deletions
|
|
@ -9,7 +9,13 @@ or, if you have already cloned it, get submodules contents :
|
||||||
git submodule init; git submodule update
|
git submodule init; git submodule update
|
||||||
```
|
```
|
||||||
|
|
||||||
# Run in local
|
# Test local code
|
||||||
|
|
||||||
|
## Test-run in container rebuilt from local repo
|
||||||
|
|
||||||
|
You may edit the code in your local copy of the repo, rebuild the
|
||||||
|
container, and test the changes:
|
||||||
|
|
||||||
```
|
```
|
||||||
make clean
|
make clean
|
||||||
FLAVOR=lxqt ARCH=amd64 IMAGE=ubuntu:18.04 make build
|
FLAVOR=lxqt ARCH=amd64 IMAGE=ubuntu:18.04 make build
|
||||||
|
|
@ -17,6 +23,10 @@ make run
|
||||||
```
|
```
|
||||||
|
|
||||||
## develop backend
|
## develop backend
|
||||||
|
|
||||||
|
You may wish to work on the backend app. As the "make run" makes sure
|
||||||
|
to mount the current dir contents under /src in the container, you can
|
||||||
|
proceed as such (no compilation of the Python code):
|
||||||
```
|
```
|
||||||
make shell
|
make shell
|
||||||
supervisorctl -c /etc/supervisor/supervisord.conf stop web
|
supervisorctl -c /etc/supervisor/supervisord.conf stop web
|
||||||
|
|
@ -25,6 +35,7 @@ cd /src/image/usr/local/lib/web/backend
|
||||||
```
|
```
|
||||||
|
|
||||||
## develop frontend
|
## develop frontend
|
||||||
|
|
||||||
```
|
```
|
||||||
cd web
|
cd web
|
||||||
yarn add
|
yarn add
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue