-
Create an environment:
Windows:
python -m venv env
MacOS:
python3 -m venv env
-
Environment activate:
Windows:
.\env\Scripts\activate
MacOS:
source env/bin/activate
-
Install requirements:
pip install -r requirements.txt
-
Run Server:
uvicorn app.main:app --reload
or
uvicorn <folder>.main:app --reload
-
Deactive Environment:
deactivate