Skip to content

Instantly share code, notes, and snippets.

@deenski
Last active September 5, 2018 13:45
Show Gist options
  • Select an option

  • Save deenski/b1039593f07556e93d35b03aaf5deeef to your computer and use it in GitHub Desktop.

Select an option

Save deenski/b1039593f07556e93d35b03aaf5deeef to your computer and use it in GitHub Desktop.
#!/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