Created
March 10, 2016 05:40
-
-
Save ajamaica/5d317643e26d1babfddd to your computer and use it in GitHub Desktop.
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
curl -sL https://deb.nodesource.com/setup_5.x -o nodesource_setup.sh | |
sudo -E bash ./nodesource_setup.sh | |
sudo apt-get install -y nodejs build-essential git | |
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 | |
git clone https://github.com/ParsePlatform/parse-server-example.git | |
cd ~/parse-server-example | |
npm install | |
npm start | |
cd .. | |
git clone https://github.com/ParsePlatform/parse-dashboard.git | |
cd parse-dashboard | |
npm install | |
npm install -g forever | |
npm install -g forever-service | |
cd .. | |
cd ~/parse-server-example | |
sudo forever-service install parse-server --script index.js | |
sudo start parse-server | |
cd .. | |
cd parse-dashboard | |
sudo forever-service install parse-dashboard --script ./Parse-Dashboard/index.js --scriptOptions " allowInsecureHTTP" | |
sudo start parse-dashboard | |
// Edit file ./parse-dashboard/Parse-Dashboard/parse-dashboard-config.json with the parse server and parse user. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This was extremely helpful, thank you!