Update readme
This commit is contained in:
parent
43ec0eb776
commit
563eac3de4
@ -6,6 +6,20 @@
|
||||
|
||||
Requires [poetry](https://archlinux.org/packages/community/any/python-poetry/)
|
||||
|
||||
## Running (dev)
|
||||
## Running
|
||||
|
||||
`poetry run uvicorn server:app --reload`
|
||||
### dev
|
||||
```bash
|
||||
$ cd ../frontend
|
||||
$ npm run dev
|
||||
# in a different terminal
|
||||
$ DEV_MODE=1 poetry run uvicorn server:app --reload
|
||||
```
|
||||
|
||||
### prod
|
||||
```bash
|
||||
$ pushd ../frontend
|
||||
$ npm run build
|
||||
$ popd
|
||||
$ poetry run uvicorn server:app
|
||||
```
|
Loading…
Reference in New Issue
Block a user