Skip to content

Commit

Permalink
Merge pull request BloomBooks#52 from JustinBeckwith/master
Browse files Browse the repository at this point in the history
add instructions for deploying to Google App Engine
  • Loading branch information
drew-gross committed Feb 19, 2016
2 parents 5f91eed + 4240560 commit 6686839
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,23 @@ Read the full Parse Server guide here: https://github.com/ParsePlatform/parse-se
A detailed tutorial is available here:
[Azure welcomes Parse developers](https://azure.microsoft.com/en-us/blog/azure-welcomes-parse-developers/)


### Getting Started With Google App Engine

1. Clone the repo and change directory to it
1. Create a project in the [Google Cloud Platform Console](https://console.cloud.google.com/).
1. [Enable billing](https://console.cloud.google.com/project/_/settings) for your project.
1. Install the [Google Cloud SDK](https://cloud.google.com/sdk/).
1. Setup a MongoDB server. You have a few options:
1. Create a Google Compute Engine virtual machine with [MongoDB pre-installed](https://cloud.google.com/launcher/?q=mongodb).
1. Use [MongoLab](https://mongolab.com/google/) to create a free MongoDB deployment on Google Cloud Platform.
1. Modify `app.yaml` to update your environment variables.
1. Delete `Dockerfile`
1. Deploy it with `gcloud preview app deploy`

A detailed tutorial is available here:
[Running Parse server on Google App Engine](https://cloud.google.com/nodejs/resources/frameworks/parse-server)

### Getting Started With Scalingo

#### With the Scalingo button
Expand Down
12 changes: 12 additions & 0 deletions app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
runtime: nodejs
vm: true

env_variables:
# --REQUIRED--
DATABASE_URI: mongodb://localhost:27017/dev
APP_ID: <your-app-id>
MASTER_KEY: <your-master-key>
# --OPTIONAL--
# FILE_KEY: <your-file-key>
# PARSE_MOUNT: /parse
# CLOUD_CODE_MAIN:

0 comments on commit 6686839

Please sign in to comment.