Add web based python shell to Melange.
[Melange.git] / app / app.yaml.template
blobb8455c846b3df92eca7613bc344078a10471e4c3
1 # Copyright 2008 the Melange authors.
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6
7 #   http://www.apache.org/licenses/LICENSE-2.0
8
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 # TODO(proto): uncomment and supply a Google App Engine application instance
16 # application: FIXME
17 # TODO(release): see the instructions in README about the "version:" field
18 version: 0-5-20090420
19 runtime: python
20 api_version: 1
22 handlers:
23 - url: /remote_api
24   script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py
25   login: admin
27 - url: /(robots.txt|favicon.ico)
28   static_files: soc/content/\1
29   upload: soc/content/(robots.txt|favicon.ico)  
31 - url: /tiny_mce/.*
32   script: $PYTHON_LIB/google/appengine/ext/zipserve
34 - url: /soc/content
35   static_dir: soc/content
37 - url: /gsoc/content
38   static_dir: gsoc/content
40 - url: /ghop/content
41   static_dir: ghop/content
43 - url: /jquery
44   static_dir: jquery
46 - url: /json
47   static_dir: json
49 - url: /admin/shell.*
50   script: shell/shell.py
51   login: admin
53 - url: /static
54   static_dir: shell/static
55   expiration: 1d
57 - url: /.*
58   script: main.py