Skip to content
This repository has been archived by the owner on May 31, 2021. It is now read-only.

Latest commit

 

History

History
56 lines (42 loc) · 1.26 KB

README.md

File metadata and controls

56 lines (42 loc) · 1.26 KB

daizu-online-judge-backend

Actions Status

Development

Installing dependent packages

If you do not have poetry installed, then execute the following command.

$ pip install poetry
$ poetry shell
$ poetry install

Running the application

$ poetry run python app.py

Exceuting Lint and Test

# Check only
$ poetry run black . --check -l 80
# Formatting with black
$ poetry run black . -l 80
$ poetry run pytest

Environment variables

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

Author

SoyBeansLab

License

MIT License