forked from sympy/sympy-live
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.yaml
44 lines (38 loc) · 1.09 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
application: sympy-live-hrd
version: 45
runtime: python27
threadsafe: true
api_version: 1
libraries:
- name: numpy
version: latest
- name: matplotlib
version: latest
handlers:
# redirect Sphinx extension
# request /static/live-filename
- url: /static/live-(.*)\.css
static_files: static/sympy-live/css/live-\1.css
upload: static/(.*)
- url: /static/live-(.*)\.js
static_files: static/sympy-live/javascript/live-\1.js
upload: static/(.*)
- url: /static/external/classy\.js
static_files: static/external/javascript/classy.js
upload: static/(.*)
- url: /static/utilities\.js
static_files: static/sympy-live/javascript/utilities.js
upload: static/(.*)
- url: /static
static_dir: static
expiration: 1d
# cache-busting scheme
# request /static-(app version)/filename
- url: /static-[0-9]+/(.*)
static_files: static/\1
upload: static/(.*)
# if you're adding the shell to your own app, change this regex url to the URL
# endpoint where you want the shell to run, e.g. /shell . You'll also probably
# want to add login: admin to restrict to admins only.
- url: .*
script: shell.application