$ cd project
$ python3.9 -m venv env
$ source env/bin/activate
(env)$ pip install fastapi==0.65.3
(env)$ pip install uvicorn==0.14.0
(env)$ uvicorn app.main:app --reload
(env)$ export ENVIRONMENT=prod
(env)$ export TESTING=1
andrelsf / fastapi Goto Github PK
View Code? Open in Web Editor NEWLearning Python with FastAPI