forked from xuming/micolog
-
Notifications
You must be signed in to change notification settings - Fork 2
/
app.yaml
71 lines (54 loc) · 1.37 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
application: gkso-hrd
version: 2-test
runtime: python27
api_version: 1
threadsafe: true
handlers:
- url: /favicon\.ico
static_files: static/images/favicon.ico
upload: static/images/favicon.ico
mime_type: image/x-icon
- url: /robots\.txt
static_files: static/robots.txt
upload: static/robots.txt
- url: /tinymce/.*
script: zipserve.app
#- url: /tinymce
# static_dir: tinymce
- url: /static
static_dir: static
- url: /rpc|/xmlrpc\.php|/rpc/.*
script: micolog.api_rpc.app
- url: /themes/.*
script: micolog.micolog_app
- url: /myadmin/.*|/myadmin
script: google.appengine.ext.admin.application
login: admin
- url: /admin/post|/admin/entries/(post|page)|/admin/links|/admin/categories|/admin/comments
script: micolog.admin_app
login: required
- url: /admin/{0,1}
script: micolog.admin_app
login: required
- url: /admin/link|/admin/category|/admin/(post|page)|/admin/lang|/admin/filemanager|/admin/upload|/admin/uploadex
script: micolog.admin_app
login: required
- url: /admin/.*
script: micolog.admin_app
login: admin
- url: /remote_api
script: google.appengine.ext.remote_api.handler.application
login: admin
- url: /.*
script: micolog.micolog_app
libraries:
- name: webapp2
version: latest
- name: django
version: "1.2"
- name: PIL
version: "1.1.7"
#builtins:
#- django_wsgi: on
env_variables:
DJANGO_SETTINGS_MODULE: 'settings'