Gist
Node
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 github
Mongo
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
echo "deb http://repo.mongodb.org/apt/ubuntu "$(lsb_release -sc)"/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list
sudo apt-get update
sudo apt-get install -y mongodb-org
# Check status of mongod
service mongod status
Steps:
npm install -g parse-server mongodb-runner parse-dashboard
-
mongodb-runner start
-
parse-server --appId myAppId --masterKey myMasterKey
// parse-dashboard-config.json
// MUST change localhost to a public accessible IP, otherwise it wont work
// appId and masterKey must be the same as well.
{
"apps": [
{
"serverURL": "http://localhost:1337/parse",
"appId": "myAppId",
"masterKey": "myMasterKey",
"appName": "MyApp"
}
],
"users": [
{
"user":"andy",
"pass":"andy"
},
{
"user":"alan",
"pass":"alan"
}
]
}
run parse-dashboard --config parse-dashboard-config.json --allowInsecureHTTP=1;
Alternative is to install: https://github.com/ParsePlatform/parse-server-example
Login
Loggined
- ParsePlatform/parse-server: Parse-compatible API server module for Node/Express
- ParsePlatform/parse-dashboard: A dashboard for managing your Parse apps that aren't hosted on Parse.com
- ParsePlatform/parse-server: Parse-compatible API server module for Node/Express
- How To Run Parse Server on Ubuntu 14.04 | DigitalOcean
- Complete Parse Server migration guide | Julien Renaux Blog
- 如何自行架設 Parse API Server
- Parse.com 停止服務? 建立自己的 Parse API Server 吧! | Mr. 沙先生
- Initial Server Setup with Ubuntu 14.04 | DigitalOcean