Skip to content

Instantly share code, notes, and snippets.

@justinwalz
Last active December 31, 2015 09:39
Show Gist options
  • Save justinwalz/7968686 to your computer and use it in GitHub Desktop.
Save justinwalz/7968686 to your computer and use it in GitHub Desktop.
Init EC2 Instance
# run this script to to basic initialization
sudo apt-get install -y python-software-properties python g++ make
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install -y nodejs
sudo apt-get update
# install mongo server
sudo apt-get install -y mongodb-server
# create directories for the server
sudo mkdir /data
sudo mkdir /data/db
# clone repo
git clone https://github.com/justinwalz/itp466-parking-app.git
cd itp466-parking-app
npm install
echo "Open mongo shell and create db 'parqdb' and collection 'spaces'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment