Backend v2, new and better
- Use virtualenv for development (ie.
source venv/bin/activate
) - Install all dev requirements using
pip install -r dev-requirements.txt
- Use branches, each feature should have its own branch, when you think everything is done just create PR to master. You can freely merge things into dev branch.
- When you are coming back to your branch, first of all do
git rebase master
to catch up with other contributors. - Write clean and easy-to-read code, also use documentation string on each function/method/class. :)
- Create and or enter into virtualenv for >=python3.6
- Just run
pip install -e .
- Enter into your virtualenv or edit
venv/bin/acitvate
script - Export these values or write them into activation script:
export FLASK_APP=evodoc export FLASK_DEBUG=1 export FLASK_ENV="development"
- (only if you are editing
activate
): save your script and re-enter into venv - Just type
flask run
- ???
- Profit