forked from ocadotechnology/codeforlife-deploy-appengine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.yaml.tmpl
103 lines (85 loc) · 2.36 KB
/
app.yaml.tmpl
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
runtime: python27
instance_class: F4
api_version: 1
threadsafe: true
service: ${MODULE_NAME}
handlers:
- url: /favicon\.ico
static_files: static/portal/img/favicon.ico
upload: static/portal/img/favicon\.ico
- url: /robots\.txt
static_files: static/robots.txt
upload: static/robots\.txt
- url: /apple-touch-icon\.png
static_files: static/apple-touch-icon.png
upload: static/apple-touch-icon\.png
- url: /apple-touch-icon-76x76\.png
static_files: static/apple-touch-icon-76x76.png
upload: static/apple-touch-icon-76x76\.png
- url: /apple-touch-icon-120x120\.png
static_files: static/apple-touch-icon-120x120.png
upload: static/apple-touch-icon-120x120\.png
- url: /apple-touch-icon-152x152\.png
static_files: static/apple-touch-icon-152x152.png
upload: static/apple-touch-icon-152x152\.png
- url: /apple-touch-icon-180x180\.png
static_files: static/apple-touch-icon-180x180.png
upload: static/apple-touch-icon-180x180\.png
- url: /static
static_dir: static
application_readable: true
secure: always
- url: /_ah/stats.*
script: google.appengine.ext.appstats.ui.app
secure: always
- url: /mail/weekly
script: main.application
login: admin
secure: always
- url: /aimmo/api/.*
script: main.application
secure: always
- url: /api/.*
script: main.application
login: admin
secure: always
- url: /.*
script: main.application
secure: always
env_variables:
DJANGO_SETTINGS_MODULE: 'django_site.settings'
HTTPS: 'on'
CACHE_PREFIX: '${CACHE_PREFIX}'
DATABASE_NAME: '${DATABASE_NAME}'
DJANGO_SECRET: '${DJANGO_SECRET}'
RECAPTCHA_PRIVATE_KEY: '${RECAPTCHA_PRIVATE_KEY}'
RECAPTCHA_PUBLIC_KEY: '${RECAPTCHA_PUBLIC_KEY}'
DJANGO_PORTAL_CONTACT_FORM_EMAIL: '${DJANGO_PORTAL_CONTACT_FORM_EMAIL}'
DJANGO_CREATOR_AUTH_TOKEN: '${DJANGO_CREATOR_AUTH_TOKEN}'
DJANGO_SALESFORCE_URL: '${DJANGO_SALESFORCE_URL}'
DJANGO_SALESFORCE_OID: '${DJANGO_SALESFORCE_OID}'
DJANGO_SALESFORCE_RT: '${DJANGO_SALESFORCE_RT}'
DJANGO_MODULE_NAME: '${MODULE_NAME}'
libraries:
- name: MySQLdb
version: latest
- name: ssl
version: latest
- name: PIL
version: latest
builtins:
- appstats: on
inbound_services:
- warmup
skip_files:
- ^(.*/)?.*\.scss$
- ^(.*/)?#.*#$
- ^(.*/)?.*~$
- ^(.*/)?.*\.py[co]$
- ^(.*/)?.*unity\/Development\/.*$
- ^(.*/)?.*/RCS/.*$
- ^(.*/)?\..*$
- ^lib\/.*info$
- ^lib\/PIL
- ^lib\/setuptools\/script.*dev.*.tmpl
- ^lib\/.*/static/.*$