controlpanel/server
2022-09-12 00:48:54 +02:00
..
server Fix violation of unmined license (distribution) 2022-09-12 00:48:54 +02:00
templates Fix violation of unmined license (distribution) 2022-09-12 00:48:54 +02:00
.gitignore Implement map 2022-09-11 23:16:22 +02:00
frontend Configure development and production modes 2022-09-04 17:49:25 +02:00
poetry.lock Configure development and production modes 2022-09-04 17:49:25 +02:00
pyproject.toml Configure development and production modes 2022-09-04 17:49:25 +02:00
README.md Update readme 2022-09-04 17:53:28 +02:00
secret.env.example Rename .env to secret.env 2022-09-04 14:58:54 +02:00

Backend

Installation

poetry install --no-root

Requires poetry

Running

dev

$ cd ../frontend
$ npm run dev
# in a different terminal
$ DEV_MODE=1 poetry run uvicorn server:app --reload

prod

$ pushd ../frontend
$ npm run build
$ popd
$ poetry run uvicorn server:app