Skip to content

Commit

Permalink
Merge pull request parse-community#33 from abhiksingh/master
Browse files Browse the repository at this point in the history
Updated to include AWS Elastic Beanstalk Support
  • Loading branch information
gfosco committed Feb 3, 2016
2 parents 7e76fda + ce9226e commit fcb1342
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .ebextensions/app.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
option_settings:
aws:elasticbeanstalk:application:environment:
PARSE_MOUNT: "/parse"
APP_ID: "MyAppID"
MASTER_KEY: "MySecretMasterKey"
DATABASE_URI: "mongodb://localhost:27017/dev"
NODE_ENV: "production"

aws:elasticbeanstalk:container:nodejs:
NodeCommand: "npm start"
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ Read the full server guide here: https://parse.com/docs/server/guide
A detailed tutorial is available here:
[Azure welcomes Parse developers](https://azure.microsoft.com/en-us/blog/azure-welcomes-parse-developers/)

### Getting Started With AWS Elastic Beanstalk

* Clone the repo and change directory to it
* 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`
* 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>`

### Using it

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

0 comments on commit fcb1342

Please sign in to comment.