Skip to content

Commit 1d4db3c

Browse files
committed
Merge pull request parse-community#39 from abhiksingh/master
Update AWS Elastic Beanstalk sections
2 parents fcb1342 + d195faf commit 1d4db3c

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed

.ebextensions/app.config

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
option_settings:
22
aws:elasticbeanstalk:application:environment:
33
PARSE_MOUNT: "/parse"
4-
APP_ID: "MyAppID"
5-
MASTER_KEY: "MySecretMasterKey"
6-
DATABASE_URI: "mongodb://localhost:27017/dev"
4+
APP_ID: "ReplaceWithAppID"
5+
MASTER_KEY: "ReplaceWithMasterKey"
6+
DATABASE_URI: "ReplaceWithDatabaseURI"
77
NODE_ENV: "production"
88

99
aws:elasticbeanstalk:container:nodejs:

README.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,18 @@ Read the full server guide here: https://parse.com/docs/server/guide
3030
* By default it will use a path of /parse for the API routes. To change this, or use older client SDKs, run `heroku config:set PARSE_MOUNT=/1`
3131
* Deploy it with: `git push heroku master`
3232

33+
### Getting Started With AWS Elastic Beanstalk
34+
35+
#### With the Deploy to AWS Button
36+
37+
[![Deploy to AWS](http://d0.awsstatic.com/product-marketing/Elastic%20Beanstalk/deploy-to-aws.png)](https://console.aws.amazon.com/elasticbeanstalk/home?region=us-west-2#/newApplication?applicationName=ParseServer&solutionStackName=Node.js&tierName=WebServer&sourceBundleUrl=https://s3.amazonaws.com/elasticbeanstalk-samples-us-east-1/eb-parse-server-sample/parse-server-example.zip)
38+
39+
#### Without It
40+
41+
* Clone the repo and change directory to it
42+
* Log in with the [AWS Elastic Beanstalk CLI](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb-cli3-install.html), select a region, and create an app: `eb init`
43+
* Create an environment and pass in MongoDB URI, App ID, and Master Key: `eb create --envvars DATABASE_URI=<replace with URI>,APP_ID=<replace with Parse app ID>,MASTER_KEY=<replace with Parse master key>`
44+
3345
### Getting Started Microsoft Azure App Service
3446

3547
#### With the Deploy to Azure Button
@@ -41,12 +53,6 @@ Read the full server guide here: https://parse.com/docs/server/guide
4153
A detailed tutorial is available here:
4254
[Azure welcomes Parse developers](https://azure.microsoft.com/en-us/blog/azure-welcomes-parse-developers/)
4355

44-
### Getting Started With AWS Elastic Beanstalk
45-
46-
* Clone the repo and change directory to it
47-
* Log in with the [AWS Elastic Beanstalk CLI](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb-cli3-install.html), select a region, and create an app: `eb init`
48-
* Create an environment and pass in MongoDB URI, App ID, and Master Key: `eb create --envvars DATABASE_URI=<replace with URI>,APP_ID=<replace with Parse app ID>,MASTER_KEY=<replace with Parse master key>`
49-
5056
### Using it
5157

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

0 commit comments

Comments
 (0)