Skip to content

Instantly share code, notes, and snippets.

@janbiasi
Last active November 11, 2015 13:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save janbiasi/c0ac7f81eef137328104 to your computer and use it in GitHub Desktop.
Save janbiasi/c0ac7f81eef137328104 to your computer and use it in GitHub Desktop.
#!/bin/bash
echo "Installing Express ..."
npm install -g express-generator
read -p "Choose the name for your app: " appName
if [[ -z "$appName" ]]; then
echo "Installation failed: no name supplied!"
exit 1
fi
express --hbs --css sass --git -f "$appName" && cd "$appName"
npm i --save mongod monk && npm i ./
echo "Well done! Starting Express ..." && npm start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment