Permalink
Browse files

First commit.

  • Loading branch information...
0 parents commit f42804a99eba818b72f16c6254f4cf112120ee6c @guilhermechapiewski committed Apr 20, 2010
Showing with 36 additions and 0 deletions.
  1. +9 −0 app.yaml
  2. +16 −0 index.py
  3. +11 −0 index.yaml
@@ -0,0 +1,9 @@
+application: youtube-api
+version: 1
+runtime: python
+api_version: 1
+
+handlers:
+- url: /.*
+ script: index.py
+
@@ -0,0 +1,16 @@
+import wsgiref.handlers
+from google.appengine.ext import webapp
+
+class MainPage(webapp.RequestHandler):
+ def get(self):
+ self.response.headers['Content-Type'] = 'text/plain'
+ self.response.out.write('Hello, App Engine!')
+
+def main():
+ application = webapp.WSGIApplication(
+ [('/', MainPage)],
+ debug=True)
+ wsgiref.handlers.CGIHandler().run(application)
+
+if __name__ == "__main__":
+ main()
@@ -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 comments on commit f42804a

Please sign in to comment.