public
Description: Google AppEngine based Twitter like App
Homepage: http://talk.org
Clone URL: git://github.com/pelle/talk.org.git
talk.org / app.yaml
100644 34 lines (27 sloc) 1.124 kb
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
application: talk-org
version: 1
runtime: python
api_version: 1
 
handlers:
 
# If we match a version string, map to a static file
# and also send a far-future expires header for caching that version.
# i.e /js/talk.1.24.js will send down the contents of /static/js/talk.js
# but with an Expires header of +10 years from today.
- url: /(javascripts|stylesheets|images)/(.+)\.\d+\.\d+\.(js|css|png|gif|jpg)
  static_files: static/\1/\2.\3
  upload: static/(javascripts|stylesheets|images)/(.+)\.\d+\.\d+\.(js|css|png|gif|jpg)
  expiration: '3650d'
                        
# Default static content url catches those w/o versions in their names.
- url: /(javascripts|stylesheets|images)/(.*\.(js|css|png|gif|jpg))
  static_files: static/\1/\2
  upload: static/(javascripts|stylesheets|images)/(.*\.(js|css|png|gif|jpg))
 
# Top level icons
- url: /favicon.ico
  static_files: static/favicon.ico
  upload: static/favicon.ico
 
- url: /apple-touch-icon.png
  static_files: static/apple-touch-icon.png
  upload: static/apple-touch-icon.png
 
# Pass everything else to the django bootstrapper.
- url: /.*
  script: django_bootstrap.py