-
Notifications
You must be signed in to change notification settings - Fork 2
/
app.yaml
93 lines (73 loc) · 2.12 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
# __BEGIN_LICENSE__
# Copyright (C) 2008-2010 United States Government as represented by
# the Administrator of the National Aeronautics and Space Administration.
# All Rights Reserved.
# __END_LICENSE__
# Configuration file when hosting geocamMapFasten on Google App Engine.
# Replace application name with your application.
application: mapfasten
version: mydev
runtime: python27
api_version: 1
threadsafe: no
libraries:
- name: django
version: "1.3"
- name: PIL
version: "latest"
- name: numpy
version: "latest"
handlers:
- url: /favicon.ico
static_files: build/static/mapFasten/icons/mapFastenFavicon.ico
upload: build/static/mapFasten/icons/mapFastenFavicon.ico
- url: /static
static_dir: build/static
# no auth required on front page
- url: /
script: submodules/geocamAppEngineLibs/main.py
- url: /admin/.*
script: submodules/geocamAppEngineLibs/main.py
login: admin
# backend instances do not respond to 'login: required' urls
# but do respond to 'login: admin' urls.
- url: /backend/.*
script: submodules/geocamAppEngineLibs/main.py
login: admin
# don't require login for any urls under /public
- url: /public/.*
script: submodules/geocamAppEngineLibs/main.py
- url: /.*
script: submodules/geocamAppEngineLibs/main.py
login: required
env_variables:
DJANGO_SETTINGS_MODULE: 'settings'
DJANGO_SCRIPT_NAME: '/'
# deployment is faster if we skip more files.
# https://developers.google.com/appengine/docs/python/config/appconfig#Skipping%5FFiles
skip_files:
- ^(.*/)?app\.yaml$
- ^(.*/)?app\.yml$
- ^(.*/)?index\.yaml$
- ^(.*/)?index\.yml$
- ^(.*/)?#.*#$
- ^(.*/)?.*~$
- ^(.*/)?.*\.py[co]$
- ^(.*/)?.*/RCS/.*$
- ^(.*/)?\..*$
- ^dev.db$
- ^data/
- ^build/management/
- ^build/bin/
- /doc_src/
- ^apps/mapFastenApp/static
- ^submodules/geocamAppEngineLibs/staticfiles/tests
- ^submodules/geocamAppEngineLibs/appconf/tests
- ^submodules/geocamAppEngineLibs/tagging/tests
- ^submodules/geocamAppEngineLibs/django_digest/test
- ^submodules/geocamAppEngineLibs/pysqlite2/test
- ^submodules/geocamTiePoint
- ^submodules/geocamUtilWeb
- .*geocamTiePoint/export.*
- .*t?gz$
- .*build/static/geocamTiePoint/overlay_images/.*