diff --git a/start.sh b/start.sh index 8384473..64d781e 100755 --- a/start.sh +++ b/start.sh @@ -30,7 +30,7 @@ echo " Instalez requirements..." pip install -q -r requirements.txt echo " Rulez migratiile..." -alembic upgrade head +PYTHONPATH="$ROOT/backend" alembic upgrade head 2>&1 || echo " Avertisment: migrare cu erori (verifica manual)" echo " Pornesc uvicorn pe portul 8000..." uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload &