Code from working through the FastAPI & Docker course from testdriven.io
- Install Python
sudo apt install python3.8 python3.8-dev
- Install pipenv
python3.8 -m pip install pipenv -U --user
- Install project dependencies
pipenv install --python 3.9
- Install project dev dependencies
pipenv install --dev
-
Run project locally using pipenv
pipenv run dev
Development server should be available at http://127.0.0.1:8000/