Skip to content

Commit 5cb3876

Browse files
committed
Merge pull request #22 from whollacsek/master
Add Scalingo one click deployment
2 parents 1d4db3c + 0a912dc commit 5cb3876

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,21 @@ Read the full server guide here: https://parse.com/docs/server/guide
5353
A detailed tutorial is available here:
5454
[Azure welcomes Parse developers](https://azure.microsoft.com/en-us/blog/azure-welcomes-parse-developers/)
5555

56+
### Getting Started With Scalingo
57+
58+
#### With the Scalingo button
59+
60+
[![Deploy to Scalingo](https://cdn.scalingo.com/deploy/button.svg)](https://my.scalingo.com/deploy)
61+
62+
#### Without it
63+
64+
* Clone the repo and change directory to it
65+
* Log in with the [Scalingo CLI](http://cli.scalingo.com/) and create an app: `scalingo create my-parse`
66+
* Use the [Scalingo MongoDB addon](https://scalingo.com/addons/scalingo-mongodb): `scalingo addons-add scalingo-mongodb free`
67+
* Setup MongoDB connection string: `scalingo env-set DATABASE_URI='$SCALINGO_MONGO_URL'`
68+
* By default it will use a path of /parse for the API routes. To change this, or use older client SDKs, run `scalingo env-set PARSE_MOUNT=/1`
69+
* Deploy it with: `git push scalingo master`
70+
5671
### Using it
5772

5873
You can use the REST API, the JavaScript SDK, and any of our open-source SDKs:

scalingo.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"name": "Parse Server Example",
3+
"description": "An example Parse API server using the parse-server module",
4+
"repository": "https://github.com/ParsePlatform/parse-server-example",
5+
"logo": "https://avatars0.githubusercontent.com/u/1294580?v=3&s=200",
6+
"env": {
7+
"PARSE_MOUNT": {
8+
"description": "Configure Parse API route.",
9+
"value": "/parse"
10+
},
11+
"APP_ID": {
12+
"description": "A unique identifier for your app.",
13+
"value": ""
14+
},
15+
"MASTER_KEY": {
16+
"description": "A key that overrides all permissions. Keep this secret.",
17+
"value": ""
18+
},
19+
"DATABASE_URI": {
20+
"description": "Connection string for your database.",
21+
"value": "$SCALINGO_MONGO_URL"
22+
}
23+
},
24+
"addons": ["scalingo-mongodb"]
25+
}

0 commit comments

Comments
 (0)