mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2024-12-11 08:57:11 +01:00
a7aa5fccf9
1. Set NODE_ENV to production and skip dev dependencies when running from scripts. 2. Remove pkg leftovers. Indicate current environment instead.
7 lines
122 B
Batchfile
7 lines
122 B
Batchfile
pushd %~dp0
|
|
set NODE_ENV=production
|
|
call npm install --no-audit --no-fund --quiet --omit=dev
|
|
node server.js %*
|
|
pause
|
|
popd
|