Install pre-commit hook:
make install-hooks # POSIX compliant shells only
Do not install the hooks if you are going to be using Powershell
The hook auto-updates the requirements.txt
file
The Python version used for this project is 3.10.11
To make your life easier it is recommended to use pyenv
. Here is an excellent guide on how to install it.
To install Python 3.10.11 using pyenv
run:
pyenv install 3.10.11
We recommend using pyenv virtualenv
for creating the virtual environment, but you can use whatever tool you like.
To create your virtual environment run:
cd api && pyenv virtualenv 3.10.11 fllights-env
Make sure you are in the /api
folder and run:
pyenv local flights-env