Delete build.sh

This commit is contained in:
ItsNik 2024-05-22 00:50:36 +02:00 committed by GitHub
parent 3f02911fe7
commit 2d3b546ead
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,21 +0,0 @@
#!/bin/bash
echo
echo "> > > BUILDING < < <"
NODE_OPTIONS="--max-old-space-size=4096" npm run build
echo
echo "> > > CD INTO src/server < < <"
cd src/server
echo
echo "> > > MIGRATIN DB < < <"
pnpm db:migrate:apply
echo
echo "> > > DELETING OLD PM2 < < <"
pm2 del tianji
echo
echo "> > > STARTING PM2 < < <"
pm2 start ./dist/src/server/main.js --name tianji -f