git clone https://github.com/GregTMJ/python-project-83.git
- python >= 3.8
- Poetry >= 1.14
- Flask ^2.2.2
- Python-dotenv ^0.21
- to avoid psycopg problems with different OS, install psycopg2-binary ^2.9.4
- Every other packages are shown inside pyproject.toml
python -m pip --version
python -m pip install --upgrade pip
For every project should be configured a Makefile to initiate the project without requiring manual commands
Inside our make setup
we have 3 commands hidden:
make install
, which makes poetry install packages from pyproject.tomlmake lock
, which locks poetry packages inside poetry.lock