From e47dd70d5209c2c7c327325ba9dd2deeb38bc47d Mon Sep 17 00:00:00 2001 From: Jeff Lindsay Date: Fri, 26 Mar 2010 18:30:17 -0700 Subject: [PATCH] initial commit, nothing fancy, just boilerplate from skd --- app.yaml | 8 ++++++++ index.yaml | 11 +++++++++++ main.py | 17 +++++++++++++++++ 3 files changed, 36 insertions(+) create mode 100644 app.yaml create mode 100644 index.yaml create mode 100755 main.py diff --git a/app.yaml b/app.yaml new file mode 100644 index 0000000..4776eda --- /dev/null +++ b/app.yaml @@ -0,0 +1,8 @@ +application: hackerdojo-log +version: 1 +runtime: python +api_version: 1 + +handlers: +- url: .* + script: main.py diff --git a/index.yaml b/index.yaml new file mode 100644 index 0000000..a3b9e05 --- /dev/null +++ b/index.yaml @@ -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. diff --git a/main.py b/main.py new file mode 100755 index 0000000..9766335 --- /dev/null +++ b/main.py @@ -0,0 +1,17 @@ +from google.appengine.ext import webapp +from google.appengine.ext.webapp import util + + +class MainHandler(webapp.RequestHandler): + def get(self): + self.response.out.write('Hello world!') + + +def main(): + application = webapp.WSGIApplication([ + ('/', MainHandler)], debug=True) + util.run_wsgi_app(application) + + +if __name__ == '__main__': + main()