mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-18 11:59:26 +00:00
fix: use uv to run learnhouse-api with dependencies
This commit is contained in:
parent
e4d5c44aae
commit
b7ac3eadf1
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
pm2 logs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue