new-game.sh installs the server's packages too
This commit is contained in:
+1
-1
@@ -27,7 +27,7 @@ mkdir -p "$DEST/docs" && mv "$DEST/docs-conventions.md" "$DEST/docs/conventions.
|
|||||||
|
|
||||||
cd "$DEST"
|
cd "$DEST"
|
||||||
git init -q && git add -A && git commit -q -m "Begin $NAME from the game kit"
|
git init -q && git add -A && git commit -q -m "Begin $NAME from the game kit"
|
||||||
npm install --no-audit --no-fund >/dev/null 2>&1 && echo "dependencies installed" || echo "npm install failed; run it by hand"
|
npm install --no-audit --no-fund >/dev/null 2>&1 && (cd server && npm install --no-audit --no-fund >/dev/null 2>&1) && echo "dependencies installed" || echo "npm install failed; run it by hand (root and server/)"
|
||||||
cat <<MSG
|
cat <<MSG
|
||||||
|
|
||||||
$NAME is at $DEST (port $PORT, $DOMAIN).
|
$NAME is at $DEST (port $PORT, $DOMAIN).
|
||||||
|
|||||||
Reference in New Issue
Block a user