This commit is contained in:
Benjamin Toby 2026-03-09 07:25:54 +00:00
parent 35e8970944
commit f823839503
4 changed files with 10 additions and 3 deletions

View File

@ -2,8 +2,8 @@
cd /app
chmod +x init.sh
./init.sh
chmod +x ./src/scripts/shell/init.sh
./src/scripts/shell/init.sh
if [ $NODE_ENV = "production" ]; then
echo "Production Environment"

View File

@ -10,4 +10,7 @@ bun twui:add || echo "TWUI Already Added"
bun twui:init || echo "TWUI Already Initialized"
bun twui:update
bunx nsqlite schema -t
bunx nsqlite schema -t
chmod +x ./src/scripts/shell/start-dev.sh
chmod +x ./src/scripts/shell/start-prod.sh

View File

@ -1,5 +1,7 @@
#!/bin/bash
pm2 kill
pm2 start --name turboci-web 'bunx next dev -p 3772'
pm2 start --name turboci-cron 'bun --watch src/cron/index.ts'
pm2 start --name turboci-websocket 'bun --watch src/websocket/index.ts'

View File

@ -1,5 +1,7 @@
#!/bin/bash
pm2 kill
pm2 start --name turboci-web 'bunx next start -p 3772'
pm2 start --name turboci-cron 'bun src/cron/index.ts'
pm2 start --name turboci-websocket 'bun src/websocket/index.ts'