Permalink
Browse files

Initial starting application.

  • Loading branch information...
0 parents commit a68c651efa5ae46a7a5bc55d8c0bca3110b19eec @mithro mithro committed Nov 14, 2010
Showing with 66 additions and 0 deletions.
  1. +2 −0 .gitignore
  2. +2 −0 LICENSE
  3. +11 −0 app.yaml
  4. +35 −0 handler.py
  5. BIN images/logo.png
  6. +11 −0 index.yaml
  7. +5 −0 templates/index.html
@@ -0,0 +1,2 @@
+*.pyc
+*.swp
@@ -0,0 +1,2 @@
+Code under Apache 2.0
+Graphics under CC-BY-SA
@@ -0,0 +1,11 @@
+application: sydney-linux-user-group
+version: 1
+runtime: python
+api_version: 1
+
+handlers:
+- url: /images
+ static_dir: images
+
+- url: /.*
+ script: handler.py
@@ -0,0 +1,35 @@
+#!/usr/bin/python2.5
+
+"""Application for tracking SLUG user group events."""
+
+
+import pprint
+import logging
+
+from google.appengine.api import users
+from google.appengine.ext import webapp
+from google.appengine.ext.webapp import template
+from google.appengine.ext.webapp.util import run_wsgi_app
+
+from google.appengine.ext import db
+
+
+class IndexPage(webapp.RequestHandler):
+ def get(self):
+ self.response.headers['Content-Type'] = 'text/html'
+ self.response.out.write(template.render(
+ 'templates/index.html', {}))
+
+
+application = webapp.WSGIApplication(
+ [('/', IndexPage),
+ ],
+ debug=True)
+
+
+def main():
+ run_wsgi_app(application)
+
+
+if __name__ == "__main__":
+ main()
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,11 @@
+indexes:
+
+# AUTOGENERATED
+
+# This index.yaml is automatically updated whenever the dev_appserver
+# detects that a new type of query is run. If you want to manage the
+# index.yaml file manually, remove the above marker line (the line
+# saying "# AUTOGENERATED"). If you want to manage some indexes
+# manually, move them above the marker line. The index.yaml file is
+# automatically uploaded to the admin console when you next deploy
+# your application using appcfg.py.
@@ -0,0 +1,5 @@
+<html>
+ <body>
+ <img src="/images/logo.png">
+ </body>
+</html>

0 comments on commit a68c651

Please sign in to comment.