The backend of etml.burkhalter.dev
- Copy
.env.sample
to.env
and change default settings.ENVIRONMENT
:prod
ordev
WEB_PORT
:8000
(default)JWT_SECRET
: generate a random JWT secretSQLITE_PATH
:etml.db
(default)
poetry install
poetry shell
piccolo migrations forwards user
piccolo migrations forwards app
poetry run init
You can also use the docker image from Docker Hub. In this case, you'll need to mount the SQLite db file.
poetry run start
Grant a user as admin:
poetry run grant me@mail.com
Ungrant a user:
poetry run ungrant me@mail.com
Note: grant
and ungrant
commands support many users at the same time.