forked from googlecreativelab/aiexperiments-giorgio-cam
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.yaml
58 lines (44 loc) · 1007 Bytes
/
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
runtime: python27
api_version: 1
threadsafe: true
handlers:
- url: /
script: server.main.app
secure: always
- url: /speak/.*
script: server.mary.app
- url: /see
script: server.vision.app
- url: /(.*\.js)
mime_type: text/javascript
static_files: static/\1
upload: static/(.*\.js)
- url: /(.*\.html)
mime_type: text/html
static_files: static/\1
upload: static/(.*\.html)
- url: /(.*\.(bmp|gif|ico|jpeg|jpg|png|svg|ttf))
static_files: static/\1
upload: static/(.*\.(bmp|gif|ico|jpeg|jpg|png|svg|ttf))
# index files
- url: /(.+)/
static_files: static/\1/index.html
upload: static/(.+)/index.html
# audio files
- url: /(.*\.mp3)
mime_type: audio/mpeg
static_files: static/\1
upload: static/audio/(.*\.mp3)
skip_files:
- ^(.*/)?.*\.pyc
- ^(.*/)?.*\.wav
- ^.git/.*
- ^(.*/)?node_modules/.*
- ^static/src/.*
- ^static/style/.*
- ^package\.json
libraries:
- name: webapp2
version: latest
env_variables:
GOOGLE_APPLICATION_CREDENTIALS: PATH/TO/CLOUD_VISION_KEY.json