The backend of etml.burkhalter.dev
- Copy
.env.sampleto.envand change default settings.ENVIRONMENT:prodordevWEB_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 initYou can also use the docker image from Docker Hub. In this case, you'll need to mount the SQLite db file.
poetry run startGrant a user as admin:
poetry run grant me@mail.comUngrant a user:
poetry run ungrant me@mail.comNote: grant and ungrant commands support many users at the same time.