-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathapp.yaml
More file actions
executable file
·83 lines (73 loc) · 1.84 KB
/
app.yaml
File metadata and controls
executable file
·83 lines (73 loc) · 1.84 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
application: mycourse # FIXME: Replace this with your application id
version: 1
runtime: python27
api_version: 1
threadsafe: false
instance_class: F1
env_variables:
GCB_PRODUCT_VERSION: '1.11.001'
# Enable collection of stats on numbers of calls to the datastore,
# memcache, and email-sending backends. Used for profiling CourseBuilder
# to improve performance. See
# https://cloud.google.com/appengine/docs/python/tools/appstats
GCB_APPSTATS_ENABLED: false
GCB_TEST_MODE: false
# Some core modules are used by other modules at registration time. We
# register them first in the order declared here. Adding items to this list
# is discouraged; new modules should avoid these dependencies.
GCB_PRELOADED_MODULES:
modules.help_urls.help_urls
modules.dashboard.dashboard
includes:
- custom.yaml
- static.yaml
inbound_services:
- warmup
builtins:
- remote_api: on
- deferred: on
libraries:
- name: jinja2
version: "2.6"
- name: PIL
version: "1.1.7"
- name: pycrypto
version: "2.6"
- name: webapp2
version: "2.5.2"
- name: webob
version: "1.2.3"
- name: lxml
version: "2.3"
handlers:
- url: /modules/([^/]*)/_static/(.*)
upload: modules/([^/]*)/_static/(.*)
static_files: modules/\1/_static/\2
expiration: 10m
application_readable: true # TODO(nretallack): deprecate this
- url: .*/favicon\.ico
static_files: assets/img/favicon.ico
upload: assets/img/favicon\.ico
- url: /remote_api
script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py
secure: always
- url: /cron/.*
script: main.app
login: admin
secure: always
- url: /mapreduce/worker/.*
script: main.app
login: admin
secure: always
- url: /.*
script: main.app
secure: always
skip_files:
# GAE default patterns.
- ^(.*/)?#.*#$
- ^(.*/)?.*~$
- ^(.*/)?.*\.py[co]$
- ^(.*/)?.*/RCS/.*$
- ^(.*/)?\..*$
# CB-specific patterns.
- ^internal/.*$