- Create virtualenv
python -m venv [path to venv folder]
- Activate virtualenv
.\venv\Scripts\activate (for Windows)
source env/bin/activate (for Linux)
- Install requirements
pip install -r requirements.txt
- Run fastAPI server
uvicorn main:app --reload
- Run Docker container
docker-compose up fast -d --build