File size: 441 Bytes
01c0f10
08d8cdc
 
427e5bf
5e9bf8a
c058d62
69c57b6
 
cf8e35a
b30afd1
1a60553
8bbf647
1
2
3
4
5
6
7
8
9
10
11
12
npm install
mkdir -p /home/node/app/nginx/tmp/{body,proxy,fastcgi,uwsgi,scgi}
mkdir -p /home/node/app/nginx/logs
mkdir -p /home/node/app/nginx
npx tsx server/index.js &
cd frontend && npm i && npm i --save-dev @types/node && npm install --save-dev rollup-plugin-obfuscator javascript-obfuscator && npm run build


#npm run preview
#npm run dev
npm run preview -- --host --port 5173 &
nginx -c /home/node/app/nginx/nginx.conf -g "daemon off;"