app/app.yaml.template
author Sverre Rabbelier <srabbelier@gmail.com>
Sun, 16 Nov 2008 23:02:31 +0000
changeset 493 6976c4d8d0ac
parent 422 93f9ead45dae
child 1502 2fee94feef59
permissions -rw-r--r--
Refactor the sidebar to use Django templates With this change the html for the sidebar is no longer generated by Melange, instead it's delegated to Django (which is what it does best anyway). The downside is that it is no longer possible to have arbitrary deeply nested menu's.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
31
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     1
# Copyright 2008 the Melange authors.
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     2
#
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     3
# Licensed under the Apache License, Version 2.0 (the "License");
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     4
# you may not use this file except in compliance with the License.
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     5
# You may obtain a copy of the License at
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     6
# 
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     7
#   http://www.apache.org/licenses/LICENSE-2.0
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     8
# 
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     9
# Unless required by applicable law or agreed to in writing, software
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    10
# distributed under the License is distributed on an "AS IS" BASIS,
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    11
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    12
# See the License for the specific language governing permissions and
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    13
# limitations under the License.
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    14
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    15
# TODO(proto): uncomment and supply a Google App Engine application instance
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    16
# application: FIXME
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    17
version: 1
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    18
runtime: python
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    19
api_version: 1
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    20
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    21
handlers:
73
211a3eeacf27 Created robots.txtx and simple Melange favicon.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 65
diff changeset
    22
- url: /(robots.txt|favicon.ico)
211a3eeacf27 Created robots.txtx and simple Melange favicon.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 65
diff changeset
    23
  static_files: soc/content/\1
211a3eeacf27 Created robots.txtx and simple Melange favicon.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 65
diff changeset
    24
  upload: soc/content/(robots.txt|favicon.ico)  
211a3eeacf27 Created robots.txtx and simple Melange favicon.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 65
diff changeset
    25
  
159
451f39c0e1aa Use zip to compress tiny_mce, and use zipserve to serve it in Google App
Todd Larsen <tlarsen@google.com>
parents: 154
diff changeset
    26
- url: /tiny_mce/.*
451f39c0e1aa Use zip to compress tiny_mce, and use zipserve to serve it in Google App
Todd Larsen <tlarsen@google.com>
parents: 154
diff changeset
    27
  script: $PYTHON_LIB/google/appengine/ext/zipserve
154
d2377425d3f2 Move third-party TinyMCE out of soc/content/js and into the application image
Todd Larsen <tlarsen@google.com>
parents: 73
diff changeset
    28
56
703032f3e1d8 Make static content framework- and program-specific.
Todd Larsen <tlarsen@google.com>
parents: 54
diff changeset
    29
- url: /soc/content
703032f3e1d8 Make static content framework- and program-specific.
Todd Larsen <tlarsen@google.com>
parents: 54
diff changeset
    30
  static_dir: soc/content
703032f3e1d8 Make static content framework- and program-specific.
Todd Larsen <tlarsen@google.com>
parents: 54
diff changeset
    31
703032f3e1d8 Make static content framework- and program-specific.
Todd Larsen <tlarsen@google.com>
parents: 54
diff changeset
    32
- url: /gsoc/content
703032f3e1d8 Make static content framework- and program-specific.
Todd Larsen <tlarsen@google.com>
parents: 54
diff changeset
    33
  static_dir: gsoc/content
703032f3e1d8 Make static content framework- and program-specific.
Todd Larsen <tlarsen@google.com>
parents: 54
diff changeset
    34
703032f3e1d8 Make static content framework- and program-specific.
Todd Larsen <tlarsen@google.com>
parents: 54
diff changeset
    35
- url: /ghop/content
703032f3e1d8 Make static content framework- and program-specific.
Todd Larsen <tlarsen@google.com>
parents: 54
diff changeset
    36
  static_dir: ghop/content
422
93f9ead45dae Add jQuery.
Augie Fackler <durin42@gmail.com>
parents: 159
diff changeset
    37
 
93f9ead45dae Add jQuery.
Augie Fackler <durin42@gmail.com>
parents: 159
diff changeset
    38
- url: /jquery
93f9ead45dae Add jQuery.
Augie Fackler <durin42@gmail.com>
parents: 159
diff changeset
    39
  static_dir: jquery
31
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    40
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    41
- url: /.*
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    42
  script: main.py
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    43
73
211a3eeacf27 Created robots.txtx and simple Melange favicon.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 65
diff changeset
    44