Skip to content

Commit fcb1342

Browse files
committed
Merge pull request #33 from abhiksingh/master
Updated to include AWS Elastic Beanstalk Support
2 parents 7e76fda + ce9226e commit fcb1342

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.ebextensions/app.config

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
option_settings:
2+
aws:elasticbeanstalk:application:environment:
3+
PARSE_MOUNT: "/parse"
4+
APP_ID: "MyAppID"
5+
MASTER_KEY: "MySecretMasterKey"
6+
DATABASE_URI: "mongodb://localhost:27017/dev"
7+
NODE_ENV: "production"
8+
9+
aws:elasticbeanstalk:container:nodejs:
10+
NodeCommand: "npm start"

README.md

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

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+
4450
### Using it
4551

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

0 commit comments

Comments
 (0)