Last active
November 11, 2015 13:11
-
-
Save janbiasi/c0ac7f81eef137328104 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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