To install requirements:
If you have python but pip doesn't work, use
python -mbefore you command (like python -m pip instal..). Ifpython -mdoesn't work, trypy -m
- Create Venv if not exists:
py -m venv venvOn windows:
venv\Scripts\activateOn Linux:
source venv/bin/activate- Install requirements:
pip install websockets uvicorn fastapi asyncio jinja2 sqlalchemyor
pip install -r requirements.txt- Run:
uvicorn {main or script name if you renamed it}:app --port {your port} --host 0.0.0.0(Of course without {})
python main.py PORT(DEFAULT IS 8001)