Last active
September 5, 2018 13:45
-
-
Save deenski/b1039593f07556e93d35b03aaf5deeef to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
| sudo apt update | |
| sudo apt upgrade -y | |
| #install git, curl, mongodb | |
| sudo apt install git curl mongodb -y | |
| #install node 8 | |
| curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - | |
| sudo apt install nodejs -y | |
| # install express-generator | |
| sudo npm install express-generator -g | |
| # install create-react-app | |
| sudo npm install -g create-react-app | |
| # upgrade npm | |
| sudo npm install npm@latest -g | |
| echo "create a directory (welcome) for your project and do the following: " | |
| echo "cd welcome" | |
| # create express app called server | |
| echo "express server" | |
| # create react app called client | |
| echo "create-react-app client" | |
| echo | |
| echo "welcome to your MERN stack" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment