This commit is contained in:
2026-04-07 21:36:11 +03:00
parent 939b7c3b8c
commit fca3de67fa
3 changed files with 71 additions and 52 deletions

16
run.sh Normal file
View File

@@ -0,0 +1,16 @@
#!/bin/bash
# Активируем виртуальное окружение (если есть)
source venv/bin/activate
# Запускаем Бэкенд в фоне
echo "Starting Backend..."
python3 app.py > backend.log 2>&1 &
# Запускаем Фронтенд в фоне
echo "Starting Frontend..."
streamlit run ui.py --server.port 8501 > frontend.log 2>&1 &
echo "Services are running in background!"
echo "Backend: http://localhost:8000"
echo "Frontend: http://localhost:8501"