From b7ac3eadf166d41607db845564ecbb8843c4c317 Mon Sep 17 00:00:00 2001 From: Florian Bussmann Date: Sun, 1 Jun 2025 18:23:10 +0200 Subject: [PATCH] fix: use uv to run learnhouse-api with dependencies --- extra/start.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extra/start.sh b/extra/start.sh index 3fa46e39..ac8a9646 100644 --- a/extra/start.sh +++ b/extra/start.sh @@ -2,7 +2,7 @@ # Start the services pm2 start server.js --cwd /app/web --name learnhouse-web > /dev/null 2>&1 -pm2 start app.py --cwd /app/api --name learnhouse-api > /dev/null 2>&1 +pm2 start uv --cwd /app/api --name learnhouse-api -- run app.py 2>&1 # Check if the services are running qnd log the status pm2 status @@ -11,4 +11,4 @@ pm2 status nginx -g 'daemon off;' & # Tail Nginx error and access logs -pm2 logs \ No newline at end of file +pm2 logs