Add complete reinstall script with database backup
This commit is contained in:
1 parent
5174a14d76
commit
c59e94547e
2 files changed
+86
-1
No files matched your search
@@ -75,7 +75,8 @@ fi
|
||||
# Install dependencies
|
||||
echo ""
|
||||
echo "Step 5: Installing dependencies..."
|
||||
npm install --production
|
||||
# For low-memory servers, limit memory usage
|
||||
NODE_OPTIONS="--max-old-space-size=512" npm install --production --no-optional 2>&1 | tail -50 || npm install --production
|
||||
|
||||
# Build client
|
||||
echo ""
|
||||
|
||||
Reference in new issue
Block a user