- pyenv correctly installed and configured
- upgrade
pip:
pip install --upgrade pip
- install
pipenv
pip install pipenv
- install dependencies and create venv
pipenv sync
- You can now launch a shell in the created venv, with all dependencies installed:
pipenv shell
First, launch a shell with the project venv. Then, you can start the service, with:
python -m src.app
First, launch a shell with the project venv. Then, you can install the testing dependencies with:
pipenv sync --dev
Then, you can run the tests with:
python -m pytest tests