24 lines
397 B
Markdown
24 lines
397 B
Markdown
# Run in local
|
|
```
|
|
make build
|
|
make run
|
|
```
|
|
|
|
You can overwrite the local Ubuntu repo using `make LOCALBUILD=de build`.
|
|
You can run the image as adifferent user `make CUSTOM_USER=newuser run`.
|
|
|
|
## develop backend
|
|
```
|
|
make shell
|
|
supervisorctl 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
|
|
```
|