Загрузить файлы в «/»

This commit is contained in:
2026-07-02 16:43:16 +00:00
parent 6ee37dd669
commit 9e32d6c20a
5 changed files with 19 additions and 0 deletions

2
.env.example Normal file
View File

@@ -0,0 +1,2 @@
SECRET_KEY=change-me-in-production
API_KEY=demo-api-key-change-in-production

9
requirements.txt Normal file
View File

@@ -0,0 +1,9 @@
fastapi>=0.115.0
uvicorn[standard]>=0.34.0
sqlalchemy>=2.0.36
bcrypt>=4.0.0
python-multipart>=0.0.20
jinja2>=3.1.5
itsdangerous>=2.2.0
pydantic[email]>=2.11.0
pydantic-settings>=2.7.0

BIN
robot_management.db Normal file

Binary file not shown.

4
run.bat Normal file
View File

@@ -0,0 +1,4 @@
@echo off
cd /d "%~dp0"
call venv\Scripts\activate.bat
uvicorn app.main:app --host 127.0.0.1 --port 8000 --reload

4
start.sh Normal file
View File

@@ -0,0 +1,4 @@
#!/bin/bash
cd "$(dirname "$0")" || exit
source venv/bin/activate
uvicorn app.main:app --host 127.0.0.1 --port 8000 --reload