-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapp.yaml
More file actions
86 lines (69 loc) · 2.56 KB
/
app.yaml
File metadata and controls
86 lines (69 loc) · 2.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# Author: Paul Ventisei
# Date: 19th June 2015
# Routing for the RowTime Application
# including URL routing, versions, static file uploads, etc. See
# https://developers.google.com/appengine/docs/python/config/appconfig
# for details on how this file works in google app engine.
# named application id in google app engine as rowtime-26
application: rowtime-26
version: 1
runtime: python27
api_version: 1
threadsafe: yes
# Builtins provide handlers for common application functions. See
# https://developers.google.com/appengine/docs/python/config/appconfig#Python_app_yaml_Builtin_handlers
# for a list of other builtins.
builtins:
- remote_api: on
# Before the application can receive certain messages, it must be
# configured to enable the appropriate service. The 'warmup' service enables
# warmup requests and the 'mail' service enables receipt and sending of emails
# See https://developers.google.com/appengine/docs/python/config/appconfig#Python_app_yaml_Inbound_services
# for a list of other inbound services.
# TODO:look to see if there is an inbound or outbound service for twitter.
inbound_services:
- warmup
- mail
# - twitter
# 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.
# TODO: List any other App Engine SDK libs you may need here.
libraries:
- name: webapp2
version: latest #TODO consider changing this to specific version for stability
- name: jinja2
version: latest #TODO consider changing to specific version for stability
- name: markupsafe
version: latest
- name: setuptools
version: "0.6c11"
- name: lxml
version: '2.3'
- name: endpoints
version: 1.0
# Handlers tell App Engine how to route requests to your application.
handlers:
- url: /css
static_dir: css
- url: /images
static_dir: images
- url: /js
static_dir: js
- url: /jquery
static_dir: jquery
- url: /google
static_dir: google
- url: /_ah/spi/.*
script: rowtime_api.application
# secure: always
# This handler catches all requests that don't match a previous handler.
- url: /.*
script: main.application
secure: always