app/app.yaml.template
author Madhusudan C.S. <madhusudancs@gmail.com>
Fri, 05 Jun 2009 21:27:03 +0200
changeset 2397 d943fa182fae
parent 2394 1dc8d7f9458e
child 2411 19e9fdde919e
permissions -rw-r--r--
Moved the GHOP module into the modules package. This also includes moving the templates and content into their respective place inside the Soc folder. This is to avoid adding every folder to the app.yaml file. Patch by: Madhusudan C.S. and Lennard de Rijk Reviewed by: Lennard de Rijk
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
1502
2fee94feef59 Remove the release.py module and just use the field in app.yaml.template.
Todd Larsen <tlarsen@google.com>
parents: 422
diff changeset
    17
# TODO(release): see the instructions in README about the "version:" field
2394
1dc8d7f9458e Set new Melange version number to 0-5-20090604 in app.yaml.template
Sverre Rabbelier <sverre@rabbelier.nl>
parents: 2335
diff changeset
    18
version: 0-5-20090604
31
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    19
runtime: python
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    20
api_version: 1
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    21
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    22
handlers:
2023
60eddc9ec8f2 Enabled remote_api for admins only
Sverre Rabbelier <srabbelier@gmail.com>
parents: 2009
diff changeset
    23
- url: /remote_api
60eddc9ec8f2 Enabled remote_api for admins only
Sverre Rabbelier <srabbelier@gmail.com>
parents: 2009
diff changeset
    24
  script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py
60eddc9ec8f2 Enabled remote_api for admins only
Sverre Rabbelier <srabbelier@gmail.com>
parents: 2009
diff changeset
    25
  login: admin
60eddc9ec8f2 Enabled remote_api for admins only
Sverre Rabbelier <srabbelier@gmail.com>
parents: 2009
diff changeset
    26
73
211a3eeacf27 Created robots.txtx and simple Melange favicon.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 65
diff changeset
    27
- url: /(robots.txt|favicon.ico)
211a3eeacf27 Created robots.txtx and simple Melange favicon.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 65
diff changeset
    28
  static_files: soc/content/\1
211a3eeacf27 Created robots.txtx and simple Melange favicon.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 65
diff changeset
    29
  upload: soc/content/(robots.txt|favicon.ico)  
2023
60eddc9ec8f2 Enabled remote_api for admins only
Sverre Rabbelier <srabbelier@gmail.com>
parents: 2009
diff changeset
    30
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
    31
- 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
    32
  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
    33
56
703032f3e1d8 Make static content framework- and program-specific.
Todd Larsen <tlarsen@google.com>
parents: 54
diff changeset
    34
- url: /soc/content
703032f3e1d8 Make static content framework- and program-specific.
Todd Larsen <tlarsen@google.com>
parents: 54
diff changeset
    35
  static_dir: soc/content
703032f3e1d8 Make static content framework- and program-specific.
Todd Larsen <tlarsen@google.com>
parents: 54
diff changeset
    36
703032f3e1d8 Make static content framework- and program-specific.
Todd Larsen <tlarsen@google.com>
parents: 54
diff changeset
    37
- url: /gsoc/content
703032f3e1d8 Make static content framework- and program-specific.
Todd Larsen <tlarsen@google.com>
parents: 54
diff changeset
    38
  static_dir: gsoc/content
703032f3e1d8 Make static content framework- and program-specific.
Todd Larsen <tlarsen@google.com>
parents: 54
diff changeset
    39
422
93f9ead45dae Add jQuery.
Augie Fackler <durin42@gmail.com>
parents: 159
diff changeset
    40
- url: /jquery
93f9ead45dae Add jQuery.
Augie Fackler <durin42@gmail.com>
parents: 159
diff changeset
    41
  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
    42
1731
254375a57d62 Add json2.js to repository under json folder, update build script and app.yaml.template files.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 1674
diff changeset
    43
- url: /json
254375a57d62 Add json2.js to repository under json folder, update build script and app.yaml.template files.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 1674
diff changeset
    44
  static_dir: json
254375a57d62 Add json2.js to repository under json folder, update build script and app.yaml.template files.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 1674
diff changeset
    45
2335
366e64ecba91 Add web based python shell to Melange.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 2256
diff changeset
    46
- url: /admin/shell.*
366e64ecba91 Add web based python shell to Melange.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 2256
diff changeset
    47
  script: shell/shell.py
366e64ecba91 Add web based python shell to Melange.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 2256
diff changeset
    48
  login: admin
366e64ecba91 Add web based python shell to Melange.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 2256
diff changeset
    49
366e64ecba91 Add web based python shell to Melange.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 2256
diff changeset
    50
- url: /static
366e64ecba91 Add web based python shell to Melange.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 2256
diff changeset
    51
  static_dir: shell/static
366e64ecba91 Add web based python shell to Melange.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 2256
diff changeset
    52
  expiration: 1d
366e64ecba91 Add web based python shell to Melange.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 2256
diff changeset
    53
31
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    54
- url: /.*
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    55
  script: main.py
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    56