534 B
534 B
Set up virtual environnement
At the root of your repository, first set up a python virtual environnement.
$ python -m venv .venv
This will be useful to keep track of the dependencies
Activate it
$ source .venv/bin/activate
now you should see (.venv) ~/Code/fastapi-corbia-telegram$
pip install --upgrade pip
(.venv) ~/Code/fastapi-corbia-telegram$ pip install fastapi[all] uvicorn
(.venv) ~/Code/fastapi-corbia-telegram$ pip freeze > requirements.txt