-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.yaml
110 lines (91 loc) · 2.71 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
# Most of the commens here are taken from:
# https://developers.google.com/appengine/docs/python/config/appconfig
# Replace 'your-app-id-goes-here' with your application ID.
# Get it here if you don't have one: https://appengine.google.com/
application: studyindenmark-clerkster
# App version
version: use-version-arg
# Use Python 2.7 runtime here.
# See this for more info:
# http://code.google.com/appengine/docs/python/python27/using27.html
runtime: python27
api_version: 1
# Use concurrent requests
threadsafe: true
# Defaul expiration time. If omitted, the production server sets the expiration
# to 10 minutes.
default_expiration: "30d"
# The Python 2.7 runtime includes some additional third-party modules
# and makes them available on demand.
# http://code.google.com/appengine/docs/python/tools/libraries27.html
#
# See 'Configuring Libraries' section on
# http://code.google.com/appengine/docs/python/python27/using27.html
#
# When adding jinja2 to your library configuration, you may want to
# add markupsafe and setuptools as well. markupsafe improves the performance
# of template rendering in jinja2 and setuptools is required for some template
# loading functionality.
libraries:
- name: webapp2
version: "2.5.1"
- name: markupsafe
version: "0.15"
- name: setuptools
version: "0.6c11"
- name: jinja2
version: "2.6"
- name: lxml
version: '2.3'
# The Python SDK includes a number of builtin handlers
# for common application functions.
builtins:
# See this page for more info:
# http://code.google.com/appengine/docs/python/tools/appstats.html
# - appstats: on
# Usage article:
# http://code.google.com/appengine/articles/deferred.html
# - deferred: on
# More info on Setting Up Remote API:
# http://code.google.com/appengine/docs/python/tools/uploadingdata.html
# - remote_api: on
# A list of URL patterns and descriptions of how they should be handled.
# Reserved URLs (you can't use them):
# /_ah/
# /form
handlers:
- url: /js
static_dir: js
- url: /css
static_dir: css
- url: /img
static_dir: img
- url: /fonts
static_dir: fonts
- url: /html
static_dir: html
- url: /cron.*
script: main.app
login: admin
- url: /worker.*
script: main.app
login: admin
- url: /.*
script: main.app
# The skip_files element specifies which files in the application directory
# are not to be uploaded to App Engine. The value is either a regular
# expression, or a list of regular expressions. Any filename that matches
# any of the regular expression is omitted from the list of files to upload
# when the application is uploaded.
skip_files:
- ^(.*/)?#.*#
- ^(.*/)?.*~
- ^(.*/)?.*sh
- ^(.*/)?.*\.py[co]
- ^(.*/)?.*\.less
- ^(.*/)?.*/RCS/.*
- ^(.*/)?\..*
- ^(.*/)?.*\.bak$
- ^(.*/)?.*\.template$
- tmp
- tests