Skip to content

Instantly share code, notes, and snippets.

Created May 9, 2015 02:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/b24a4167ad9779a15caa to your computer and use it in GitHub Desktop.
Save anonymous/b24a4167ad9779a15caa to your computer and use it in GitHub Desktop.
Contents of app.yaml
# This file specifies your Python application's runtime configuration
# including URL routing, versions, static file uploads, etc. See
# https://developers.google.com/appengine/docs/python/config/appconfig
# for details.
# TODO: Enter your application id below. If you have signed up
# using cloud.google.com/console use the "project id" for your application
# id.
application: cfc-melbourne-website
version: 1
runtime: python27
api_version: 1
threadsafe: yes
builtins:
- appstats: on
inbound_services:
- mail
# Handlers tell app engine how to route requests to your application.
handlers:
# Handle incoming emails
- url: /_ah/mail/.+
script: meetingevents.application
login: admin
# This handler configures cron.yaml
- url: /_ereporter.*
script: google.appengine.ext.ereporter.report_generator.application
login: admin
# Route requests to static files (and subdirectories) in the listed
# directories.
- url: /static
static_dir: static
# Make robots.txt accessible at the root URL.
- url: /robots.txt
static_files: static/robots.txt
upload: static/robots.txt
# This handler tells app engine how to route requests to a WSGI application.
# The script value is in the format <path.to.module>.<wsgi_application>
# where <wsgi_application> is a WSGI application object.
- url: .* # This regex directs all routes to main.app
script: main.app
# Third party libraries that are included in the App Engine SDK must be listed
# here if you want to use them. See
# https://developers.google.com/appengine/docs/python/tools/libraries27 for
# a list of libraries included in the SDK. Third party libs that are *not* part
# of the App Engine SDK don't need to be listed here, instead add them to your
# project directory, either as a git submodule or as a plain subdirectory.
# Note that dependencies must be located in your project directory - packages
# installed in the Python environment are not loaded by the App Engine development
# server or deployment tools.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment