diff --git a/readme.md b/readme.md index 91b50b0..39c5ee3 100644 --- a/readme.md +++ b/readme.md @@ -1,7 +1,7 @@ ```bash # Установка через venv python3 -m venv .venv -.venv/bin/activate # bash +source .venv/bin/activate # bash .\.venv\Scripts\Activate.ps1 # PowerShell pip install -r requirements.txt uvicorn main:app --reload diff --git a/server.py b/server.py new file mode 100644 index 0000000..48edabd --- /dev/null +++ b/server.py @@ -0,0 +1,5 @@ +import uvicorn +import main + +if __name__ == "__main__": + uvicorn.run("main:app", host="127.0.0.1", port=8000, log_level="info") \ No newline at end of file