python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
- cp
.env.sample
.env
- Include
DATABASE_URL
DATABASE_URL="postgresql://<user>:<password>@<url>:5432/postgres?schema=<scheme>"
Note that you should change appropriate values in
user
,password
,url
,scheme
fields. Or you can even use other database. More about connection urls
prisma generate
uvicorn main:app --reload
After installing packages
pip freeze > requirements.txt