diff --git a/build.sh b/build.sh deleted file mode 100644 index 909f16c..0000000 --- a/build.sh +++ /dev/null @@ -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 \ No newline at end of file