Updates
This commit is contained in:
parent
35e8970944
commit
f823839503
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
cd /app
|
cd /app
|
||||||
|
|
||||||
chmod +x init.sh
|
chmod +x ./src/scripts/shell/init.sh
|
||||||
./init.sh
|
./src/scripts/shell/init.sh
|
||||||
|
|
||||||
if [ $NODE_ENV = "production" ]; then
|
if [ $NODE_ENV = "production" ]; then
|
||||||
echo "Production Environment"
|
echo "Production Environment"
|
||||||
|
|||||||
@ -10,4 +10,7 @@ bun twui:add || echo "TWUI Already Added"
|
|||||||
bun twui:init || echo "TWUI Already Initialized"
|
bun twui:init || echo "TWUI Already Initialized"
|
||||||
bun twui:update
|
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
|
||||||
@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
pm2 kill
|
||||||
|
|
||||||
pm2 start --name turboci-web 'bunx next dev -p 3772'
|
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-cron 'bun --watch src/cron/index.ts'
|
||||||
pm2 start --name turboci-websocket 'bun --watch src/websocket/index.ts'
|
pm2 start --name turboci-websocket 'bun --watch src/websocket/index.ts'
|
||||||
@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
pm2 kill
|
||||||
|
|
||||||
pm2 start --name turboci-web 'bunx next start -p 3772'
|
pm2 start --name turboci-web 'bunx next start -p 3772'
|
||||||
pm2 start --name turboci-cron 'bun src/cron/index.ts'
|
pm2 start --name turboci-cron 'bun src/cron/index.ts'
|
||||||
pm2 start --name turboci-websocket 'bun src/websocket/index.ts'
|
pm2 start --name turboci-websocket 'bun src/websocket/index.ts'
|
||||||
Loading…
Reference in New Issue
Block a user