Last active
December 31, 2015 09:39
-
-
Save justinwalz/7968686 to your computer and use it in GitHub Desktop.
Init EC2 Instance
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
# 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