If you do not have poetry installed, then execute the following command.
$ pip install poetry
$ poetry shell
$ poetry install
$ poetry run python app.py
# Check only
$ poetry run black . --check -l 80
# Formatting with black
$ poetry run black . -l 80
$ poetry run pytest
Please set the environment variables of the table to .env, etc.
name | default value |
---|---|
DAIZU_DATABASE_HOST | localhost |
DAIZU_DATABASE_NAME | doj |
DAIZU_DATABASE_USERNAME | daizu |
DAIZU_DATABASE_PASSWOWRD | soybeanslab |
DAIZU_LOG_STREAM | |
DAIZU_LOG_FILE | |
DAIZU_AUTH0_DOMAIN | |
DAIZU_AUTH0_API_AUDIENCE |
SoyBeansLab
MIT License