Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 633 Bytes

README.md

File metadata and controls

31 lines (24 loc) · 633 Bytes

Web API

Deploy for localhost Python 3.11

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

Deploy for server Python 3.11

  1. Run Docker container
docker-compose up fast -d --build