To set up your environment, copy paste the following commands
python -m venv venv &&
source venv/bin/activate &&
pip install -r requirements.txt &&
deactivate
Run each time when developing:
- Start your virtual env
source venv/bin/activate. - ???
- Profit
- Close your virtual env with
deactivate.
Useful commands:
pip freeze > requirements.txtto update requirements file.black file_nameto autoformat file for best practice python formatting.