Lottery demo
Note: for test purposes games are not reset between every draw so all tickets go in single draw and draw can be performed for the only game multiple times
- Python 3.6.7
- PostgresDB 9+
pip install -r requirements.txt
export DATABASE_URL=postgres://{db_user}:{db_password}@{db_host}:{db_port}/{db_name}
python manage.py migrate
python manage.py runserver
Run pytest
command in the project root directory.