-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathapp.yaml
41 lines (34 loc) · 945 Bytes
/
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
application: app-name #edit me!
version: 1
runtime: python
api_version: 1
builtins:
# for an explaination of builtins, see:
# http://code.google.com/appengine/docs/python/config/appconfig.html#Builtin_Handlers
- datastore_admin: on
- remote_api: on
- admin_redirect: on
handlers:
# enable the task queue (used internally by djangoappengine)
- url: /_ah/queue/deferred
script: djangoappengine/deferred/handler.py
login: admin
# django admin media page
- url: /media/admin
static_dir: django/contrib/admin/media
expiration: '0'
# allow use of the remote console
- url: /remote_api
script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py
login: admin
# don't complain about missing favicon
- url: /favicon.ico
static_files: media/img/favicon.ico
upload: media/img/favicon.ico
# serve static files
- url: /media
static_dir: media
expiration: '365d'
# start the app
- url: /.*
script: djangoappengine/main/main.py