docker-ubuntu-vnc-desktop/DEVELOPMENT.md

542 B

Get code

git clone --recursive https://github.com/fcwu/docker-ubuntu-vnc-desktop

or, if you have already cloned it, get submodules contents :

git submodule init; git submodule update

Run in local

make clean
FLAVOR=lxqt ARCH=amd64 IMAGE=ubuntu:18.04 make build
make run

develop backend

make shell
supervisorctl -c /etc/supervisor/supervisord.conf stop web
cd /src/image/usr/local/lib/web/backend
./run.py --debug

develop frontend

cd web
yarn add
BACKEND=http://127.0.0.1:6080 npm run dev