This repository has been archived by the owner on Feb 25, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
/
app.yaml
76 lines (65 loc) · 2.13 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
# Copyright 2012 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy
# of the License at: http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software distrib-
# uted under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
# OR CONDITIONS OF ANY KIND, either express or implied. See the License for
# specific language governing permissions and limitations under the License.
application: crisislanding-hr
version: 1
runtime: python27
threadsafe: true
api_version: 1
libraries:
- name: django
version: "1.4"
- name: PIL
version: "latest"
- name: webapp2
version: "latest"
# Enabling warmup requests gives us the option to configure idle instances,
# if we need to prepare for traffic spikes ahead of time. For details, see:
# https://developers.google.com/appengine/docs/adminconsole/performancesettings
inbound_services:
- warmup
handlers:
# Administrative API request handler
- url: .*/remote_api
script: google.appengine.ext.remote_api.handler.application
login: admin
# Static file handlers
- url: /favicon.ico
static_files: static/favicon.ico
upload: static/favicon.ico
- url: .*/.static/(.*)
static_files: static/\1
upload: static/(.*)
- url: .*/.js/(.*).js
static_files: js/compiled/\1.js
upload: js/compiled/(.*).js
# Handler for fake backends in functional tests.
- url: /testbackend
script: testbackend.app
# Data setup for functional tests.
- url: /testdata
script: testdata.app
# User-facing request handlers
- url: .*
script: app.app
# Hidden files, test files, and temporary products of make and tools/puppet.
# (Each pathname relative to this directory is matched against these regexes,
# which are treated as if prefixed with "^", but anchoring to the end requires
# an explicit "$". If a directory matches, all its descendants are skipped.)
skip_files:
- (.*/)?\.
- (.*/)?__pycache__
- .*_test\.(js|py)$
- aux$
- goldentests$
- js/compiled/.*list\.
- js/compiled/.*dbg$
- js/compiled/.*opt$
- static/puppet$