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

SoyBeansLab/daizu-online-judge-backend-old

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages