app/app.yaml.template
author Mario Ferraro <fadinlight@gmail.com>
Sun, 15 Nov 2009 22:12:20 +0100
changeset 3093 d1be59b6b627
parent 3071 d11bb8ba0d23
permissions -rw-r--r--
GMaps related JS changed to use new google namespace. Google is going to change permanently in the future the way to load its services, so better stay safe. Also this commit shows uses of the new melange.js module. Fixes Issue 634.
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
3071
d11bb8ba0d23 Set new Melange version number to 0-5-20091102 in app.yaml.template.
Sverre Rabbelier <srabbelier@gmail.com>
parents: 3012
diff changeset
    18
version: 0-5-20091102
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)  
2846
6512c82180ba Set expiration date of static dirs to 1d
Sverre Rabbelier <srabbelier@gmail.com>
parents: 2837
diff changeset
    30
  expiration: 1d
2023
60eddc9ec8f2 Enabled remote_api for admins only
Sverre Rabbelier <srabbelier@gmail.com>
parents: 2009
diff changeset
    31
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
    32
- 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
    33
  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
    34
56
703032f3e1d8 Make static content framework- and program-specific.
Todd Larsen <tlarsen@google.com>
parents: 54
diff changeset
    35
- url: /soc/content
703032f3e1d8 Make static content framework- and program-specific.
Todd Larsen <tlarsen@google.com>
parents: 54
diff changeset
    36
  static_dir: soc/content
2846
6512c82180ba Set expiration date of static dirs to 1d
Sverre Rabbelier <srabbelier@gmail.com>
parents: 2837
diff changeset
    37
  expiration: 1d
56
703032f3e1d8 Make static content framework- and program-specific.
Todd Larsen <tlarsen@google.com>
parents: 54
diff changeset
    38
703032f3e1d8 Make static content framework- and program-specific.
Todd Larsen <tlarsen@google.com>
parents: 54
diff changeset
    39
- url: /gsoc/content
703032f3e1d8 Make static content framework- and program-specific.
Todd Larsen <tlarsen@google.com>
parents: 54
diff changeset
    40
  static_dir: gsoc/content
2846
6512c82180ba Set expiration date of static dirs to 1d
Sverre Rabbelier <srabbelier@gmail.com>
parents: 2837
diff changeset
    41
  expiration: 1d
56
703032f3e1d8 Make static content framework- and program-specific.
Todd Larsen <tlarsen@google.com>
parents: 54
diff changeset
    42
422
93f9ead45dae Add jQuery.
Augie Fackler <durin42@gmail.com>
parents: 159
diff changeset
    43
- url: /jquery
93f9ead45dae Add jQuery.
Augie Fackler <durin42@gmail.com>
parents: 159
diff changeset
    44
  static_dir: jquery
2846
6512c82180ba Set expiration date of static dirs to 1d
Sverre Rabbelier <srabbelier@gmail.com>
parents: 2837
diff changeset
    45
  expiration: 1d
31
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    46
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
    47
- 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
    48
  static_dir: json
2846
6512c82180ba Set expiration date of static dirs to 1d
Sverre Rabbelier <srabbelier@gmail.com>
parents: 2837
diff changeset
    49
  expiration: 1d
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
    50
2335
366e64ecba91 Add web based python shell to Melange.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 2256
diff changeset
    51
- url: /admin/shell.*
366e64ecba91 Add web based python shell to Melange.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 2256
diff changeset
    52
  script: shell/shell.py
366e64ecba91 Add web based python shell to Melange.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 2256
diff changeset
    53
  login: admin
366e64ecba91 Add web based python shell to Melange.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 2256
diff changeset
    54
2594
dd300af0e7df Added empty Tasks package and queue.yaml.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2565
diff changeset
    55
- url: /tasks/*
dd300af0e7df Added empty Tasks package and queue.yaml.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2565
diff changeset
    56
  script: main.py
dd300af0e7df Added empty Tasks package and queue.yaml.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2565
diff changeset
    57
  login: admin
dd300af0e7df Added empty Tasks package and queue.yaml.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2565
diff changeset
    58
2335
366e64ecba91 Add web based python shell to Melange.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 2256
diff changeset
    59
- url: /static
366e64ecba91 Add web based python shell to Melange.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 2256
diff changeset
    60
  static_dir: shell/static
366e64ecba91 Add web based python shell to Melange.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 2256
diff changeset
    61
  expiration: 1d
366e64ecba91 Add web based python shell to Melange.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 2256
diff changeset
    62
2832
2a0a7e081caf Profiling patch
Sverre Rabbelier <srabbelier@gmail.com>
parents: 2795
diff changeset
    63
- url: /profiler/.*
2847
b587e25a92bd Use profiler.py to prevent import failures
Sverre Rabbelier <srabbelier@gmail.com>
parents: 2846
diff changeset
    64
  script: profiler.py
2837
89519bd46862 Set profiler/ to admin only
Sverre Rabbelier <srabbelier@gmail.com>
parents: 2832
diff changeset
    65
  login: admin
2832
2a0a7e081caf Profiling patch
Sverre Rabbelier <srabbelier@gmail.com>
parents: 2795
diff changeset
    66
31
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    67
- url: /.*
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    68
  script: main.py
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    69