-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.yaml
49 lines (40 loc) · 1.1 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
# [START django_app]
runtime: python27
api_version: 1
threadsafe: yes
handlers:
# - url: /static
# static_dir: static/
- url: /favicon\.ico
static_files: favicon.ico
upload: favicon\.ico
- url: /robots\.txt
static_files: robots.txt
upload: robots\.txt
- url: .*
secure: always
script: tang.wsgi.application
# Only pure Python libraries can be vendored
# Python libraries that use C extensions can
# only be included if they are part of the App Engine SDK
# Using Third Party Libraries: https://cloud.google.com/appengine/docs/python/tools/using-libraries-python-27
libraries:
- name: MySQLdb
version: 1.2.5
- name: django
version: "1.11"
- name: ssl
version: latest
# [END django_app]
# Google App Engine limits application deployments to 10,000 uploaded files per
# version. The skip_files section allows us to skip virtual environment files
# to meet this requirement. The first 5 are the default regular expressions to
# skip, while the last one is for all env/ files.
skip_files:
- ^(.*)/?static/
- ^(.*/)?#.*#$
- ^(.*/)?.*~$
- ^(.*/)?.*\.py[co]$
- ^(.*/)?.*/RCS/.*$
- ^(.*/)?\..*$
- ^env/.*$