forked from schemaorg/schemaorg
-
Notifications
You must be signed in to change notification settings - Fork 1
/
app.yaml
169 lines (130 loc) · 3.86 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
161
162
163
164
165
166
167
168
169
#application: schemaorgae
#application: webschemas
#version: 1
#module: default
runtime: python27
api_version: 1
threadsafe: true
automatic_scaling: #Only applicable for appengine accounts with billing enabled
min_idle_instances: 1
instance_class: F2
#basic_scaling:
# max_instances: 3
# idle_timeout: 10m
inbound_services:
- warmup
env_variables:
# TARGETSITE: 'localhost'
PRODSITEDEBUG: 'False'
#CONFIGFILE: 'https://raw.githubusercontent.com/RichardWallis/datacommons/appupdate/schema/datacomconfig.json'
CONFIGFILE: 'sdoconfig.json'
FORCEINDEXPAGES: 'False'
DEVELOPVERSION: 'True'
MOREBLOCK: 'True'
WARMUPSTATE: 'Auto' # 'Off', 'On', 'Auto' - Off for localhost, On elsewhere
STAYINEXTENTION: 'False'
PAGESTOREMODE: 'CLOUDSTORE' # 'INMEM' (In instance memory), 'NDBSHARED' (NDB shared - accross instances), 'CLOUDSTORE' (Cloudstorage files)
EXAMPLESTOREMODE: 'INMEM' # 'INMEM', 'NDBSHARED'
TIMESTAMPSTOREMODE: 'CLOUDSTORE' # 'INMEM', 'NDBSHARED', 'CLOUDSTORE'
# CACHE_CONTROL: 'public, max-age=600'
CACHE_CONTROL: 'no-cache'
SUBDOMAINS: 'False' #'False' no subdomains, 'True' for pending.schema.org, bib.schema.org etc.
handlers:
- url: /favicon.ico
static_files: docs/favicon.ico
upload: docs/favicon.ico
application_readable: True
mime_type: image/x-icon
- url: /robots.txt
static_files: docs/robots-blockall.txt
upload: docs/robots-blockall.txt
application_readable: True
mime_type: text/plain
# To avoid: "Could not guess mimetype for docs/schemaorg.owl. Using application/octet-stream."
- url: /docs/schema_org_rdfa.html
static_files: data/schema.rdfa
upload: data/schema.rdfa
application_readable: True
mime_type: text/html
- url: /docs/jsonldcontext.json.*
script: sdoapp.app
- url: /docs/full.*.html
script: sdoapp.app
- url: /docs/schemas.html
script: sdoapp.app
- url: /docs/developers.html
script: sdoapp.app
- url: /docs/tree.json.*
script: sdoapp.app
- url: /admin/refresh
login: required
script: sdoapp.app
# Use for /docs when PAGESTOREMODE not set to CLOUDSTORE
#- url: /docs
#static_dir: docs
#application_readable: True
# Use for /docs when PAGESTOREMODE set to CLOUDSTORE
- url: /docs
script: sdoapp.app
- url: /admin
static_dir: admin
application_readable: True
#- url: /
# static_files: static/index.html
# upload: static/index.html
# application_readable: True
- url: /search_files
static_dir: static/search_files
- url: /version/latest/.*
script: sdoapp.app
- url: /(version/[^/]*/)$
script: sdoapp.app
- url: /(version/([^/]*))$
script: sdoapp.app
- url: /version/
script: sdoapp.app
- url: /version/(.*/.*\.rdfa)
mime_type: text/html
static_files: data/releases/\1
upload: data/releases/(.*/.*\.rdfa)
application_readable: True
- url: /version/(.*/.*\.ttl)
mime_type: application/x-turtle
static_files: data/releases/\1
upload: data/releases/(.*/.*\.ttl)
application_readable: True
- url: /version/(.*/.*\.jsonld)
mime_type: application/ld+json
static_files: data/releases/\1
upload: data/releases/(.*/.*\.jsonld)
application_readable: True
- url: /version/(.*/.*\.rdf)
mime_type: application/rdf+xml
static_files: data/releases/\1
upload: data/releases/(.*/.*\.rdf)
application_readable: True
- url: /version/(.*/.*\.nt)
mime_type: application/n-triples
static_files: data/releases/\1
upload: data/releases/(.*/.*\.nt)
application_readable: True
- url: /version/(.*/.*\.nq)
mime_type: application/n-quads
static_files: data/releases/\1
upload: data/releases/(.*/.*\.nq)
application_readable: True
- url: /version/(.*/.*\.csv)
mime_type: text/csv
static_files: data/releases/\1
upload: data/releases/(.*/.*\.csv)
application_readable: True
- url: /version/*/*
static_dir: data/releases/
application_readable: True
- url: /.*
script: sdoapp.app
libraries:
- name: webapp2
version: 2.5.2
- name: jinja2
version: 2.6