Created
July 25, 2016 19:04
-
-
Save ronaldbradford/d0bee0fa23d1baf41f3c34be40c71d1f to your computer and use it in GitHub Desktop.
Install hackerthon-starter node.js app
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
# Install this node.js starter app | |
# https://github.com/sahat/hackathon-starter | |
sudo apt-get update | |
sudo apt-get upgrade -y | |
sudo apt-get install build-essential -y | |
#https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/ | |
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927 | |
echo "deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.2.list | |
sudo apt-get update | |
sudo apt-get install -y mongodb-org | |
#sudo service mongod start | |
tail /var/log/mongodb/mongod.log | |
mongo --version | |
# https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-an-ubuntu-14-04-server | |
# This requires Node 6.0+ | |
curl -sL https://deb.nodesource.com/setup_6.x | sudo bash - | |
sudo apt-get install -y nodejs | |
node --version | |
sudo npm install -g nodemon | |
sudo apt-get install -y git-core | |
git clone --depth=1 https://github.com/sahat/hackathon-starter.git myproject | |
cd myproject | |
npm install | |
node app.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment