Backend of rap quiz, can be found here
$ git add .
$ git commit -am "make it better"
$ git push heroku master
heroku builds:cancel
- Create venv
python3 -m venv venv
- Install dependencies
pip install -r requirements.txt
- Store dependencies in
requirements.txt
python -m pip freeze > requirements.txt
- Activate venv
source venv/bin/activate
- Set dev environment variables
. ./env_variables.sh
- Clean and format project
black app
autoflake --remove-all-unused-imports --ignore-init-module-imports --remove-unused-variables -i -r app
Regroup all models corresponding to the SQL tables (user,...).
All clusters of routes of the application.
Regroup main functions of the application usually called by the blueprints.
Shared variables and data accessible from different parts of the application.