Skip to content

Instantly share code, notes, and snippets.

@flovilmart
Created December 25, 2015 17:36
Show Gist options
  • Save flovilmart/350ae0b2966a0b5a21b9 to your computer and use it in GitHub Desktop.
Save flovilmart/350ae0b2966a0b5a21b9 to your computer and use it in GitHub Desktop.
Parse on Google App Engine
runtime: nodejs
vm: true
api_version: 1
env_variables:
PORT: '8080'
# The parsre configuration for parse-anywhere
PARSE_APPLICATION_ID: PLACEHOLDER_FILL_ME
PARSE_JAVASCRIPT_KEY: PLACEHOLDER_FILL_ME
PARSE_MASTER_KEY: PLACEHOLDER_FILL_ME
# optional
PARSE_WEBHOOK_KEY: PLACEHOLDER_FILL_ME
skip_files:
- ^(.*/)?#.*#$
- ^(.*/)?.*~$
- ^(.*/)?\..*$
- ^node_modules
- ^(.*/)?.*\.log$
# just one instance, see https://cloud.google.com/appengine/docs/python/config/appconfig
# yes this is python but that applies as well here (for most of it)
instance_class: B1
manual_scaling:
instances: 1
{
"name": "My Parse App",
"version": "1.0.0",
"scripts": {
"start": "parse-anywhere",
},
"dependencies": {
"parse-anywhere": "~0.2.0",
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment