-
Notifications
You must be signed in to change notification settings - Fork 0
/
portal-web.yaml
113 lines (83 loc) · 2.8 KB
/
portal-web.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
# This file is part of VertNet: https://github.com/VertNet/webapp
#
# VertNet is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# VertNet is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Foobar. If not, see: http://www.gnu.org/licenses
# This is the App Engine configuration file for local development.
# Note that static assets are sources from www/ which contains full
# sourcecode without minification.
# CODEBASE INFO
# Last pushed to master branch: 2016-05-17T12:44:22+CEST
# Last change to master branch: Basic download portal works
#
# DEPLOYMENT INFO
# Last deployed dev version: 2016-05-17T12:44:22+CEST
# Last deployed prod version: 2016-05-17T12:44:22+CEST
# command: gcloud preview app deploy portal-web.yaml
# args:
# --project vertnet-portal # Optional, no need if gcloud is configured to use this project
# --version prod|dev # Indicates version to use. If 'Prod', --promote flag should be used
# --promote # Optional, removes the version id from the deployment URL. Skip for testing and/or dev version
service: portal-web
runtime: python27
api_version: 1
threadsafe: true
libraries:
- name: jinja2
version: "latest"
# - name: webapp2
# version: "2.5.1"
handlers:
# Static assets
- url: /js/lib/*.
static_dir: www/lib
- url: /js
static_dir: www/js
- url: /css
static_dir: www/css
- url: /fonts
static_dir: www/fonts
- url: /img
static_dir: www/img
# APIs
# - url: /api/search.*
# script: vertnet.service.api.handlers
# - url: /api/download.*
# script: vertnet.service.api.handlers
- url: /api/user/get
script: vertnet.service.user.handler
- url: /api/github.*
script: vertnet.service.github.handler
# - url: /service/download.*
# script: vertnet.service.download.api
# - url: /apitracker.*
# script: vertnet.service.tracker.api
- url: /service/rpc/record.*
script: vertnet.service.record.rpc
- url: /service/organization.*
script: vertnet.service.organization.rpc
- url: /api/user.*
script: vertnet.service.user.handler
- url: /api/organization.*
script: vertnet.api.organization.rpc
# - url: /api/stats.*
# script: vertnet.api.stats.rpc
- url: /service/stats.*
script: vertnet.service.stats.main
# - url: /service/repochecker.*
# script: vertnet.service.repochecker.main
# CRON tasks
# - url: /tasks/daily_portal_stats.*
# script: vertnet.service.tasks.daily_portal_stats.main
# Main handler
- url: /.*
script: app.handler