forked from avh4/khan-academy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.yaml
160 lines (123 loc) · 3.09 KB
/
app.yaml
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
application: khan-academy
version: 764
runtime: python
api_version: 1
default_expiration: "365d"
skip_files:
- ^(.*/)?app\.yaml
- ^(.*/)?app\.yml
- ^(.*/)?index\.yaml
- ^(.*/)?index\.yml
- ^(.*/)?#.*#
- ^(.*/)?.*~
- ^(.*/)?.*\.py[co]
- ^(.*/)?.*/RCS/.*
- ^(.*/)?\..*
- ^(.*/)?sample_data/.*
- ^(.*/)?khan-exercises/test/.*
- ^(.*/)?presskit/.*
- ^(.*/)?deploy/.*
handlers:
- url: /videos
static_dir: offline/Khan Academy/videos
- url: /flvplayer
static_dir: flvplayer
- url: /stylesheets
static_dir: stylesheets
- url: /favicon.ico
static_files: images/favicon.ico
mime_type: image/x-icon
upload: images/favicon.ico
- url: /google663128d2a1a65b87.html
static_files: google663128d2a1a65b87.html
upload: google663128d2a1a65b87.html
- url: /images/favicon.ico
static_files: images/favicon.ico
mime_type: image/x-icon
upload: images/favicon.ico
- url: /images
static_dir: images
- url: /javascript
static_dir: javascript
# Begin GTV integration
- url: /gtv/css
static_dir: gtv/css
- url: /gtv/images
static_dir: gtv/images
- url: /gtv/js
static_dir: gtv/js
- url: /gtv/fullscreen.html
static_files: gtv/fullscreen.html
upload: gtv/fullscreen.html
- url: /gtv.*
script: gtv/main.py
# End GTV integration
# Begin khan-exercises integration
- url: /khan-exercises/khan-exercise.js
static_files: khan-exercises/khan-exercise.js
upload: khan-exercises/khan-exercise.js
- url: /khan-exercises/utils
static_dir: khan-exercises/utils
- url: /khan-exercises/css
static_dir: khan-exercises/css
- url: /khan-exercises/images
static_dir: khan-exercises/images
- url: /khan-exercises/(hashed.+\.js)
static_files: khan-exercises/\1
upload: khan-exercises/(hashed.+\.js)
# End khan-exercises integration
- url: /downloads/(.*)
static_files: downloads/\1
upload: downloads/(.*)
- url: /remote_api
script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py
login: admin
- url: /_ah/queue/deferred_problemlog
script: $PYTHON_LIB/google/appengine/ext/deferred/handler.py
login: admin
- url: /_ah/queue/deferred_videolog
script: $PYTHON_LIB/google/appengine/ext/deferred/handler.py
login: admin
- url: /_ah/queue/deferred_log_summary
script: $PYTHON_LIB/google/appengine/ext/deferred/handler.py
login: admin
- url: /admin/.*
script: main.py
login: admin
- url: /mapreduce(/.*)?
script: mapreduce/main.py
login: admin
- url: /api/.*
script: api/main.py
- url: /gae_mini_profiler/static
static_dir: gae_mini_profiler/static
expiration: "300s"
- url: /gae_mini_profiler/.*
script: gae_mini_profiler/main.py
- url: /gae_bingo/static
static_dir: gae_bingo/static
expiration: "300s"
- url: /gae_bingo/tests/.*
script: gae_bingo/tests/main.py
- url: /gae_bingo/.*
script: gae_bingo/main.py
- url: /backends/.*
script: backends/videoprogress.py
login: admin
- url: .*
script: main.py
builtins:
- appstats: on
- datastore_admin: on
- deferred: on
- remote_api: on
inbound_services:
- warmup
admin_console:
pages:
- name: AppStats
url: /_ah/stats
- name: Mapreduce
url: /mapreduce
- name: YouTube Sync
url: /admin/youtubesync