Skip to content

Instantly share code, notes, and snippets.

@pagenoare
Created July 4, 2009 12:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pagenoare/140565 to your computer and use it in GitHub Desktop.
Save pagenoare/140565 to your computer and use it in GitHub Desktop.
application: juno
version: 1
runtime: python
api_version: 1
handlers:
- url: .*
script: main.py
diff --git a/juno.py b/juno.py
index 3dbb91b..91bf751 100644
--- a/juno.py
+++ b/juno.py
@@ -777,6 +777,5 @@ def run_wsgi(process_func):
return get_application(process_func)
def run_appengine(process_func):
- sys.stdout = sys.stderr
from google.appengine.ext.webapp.util import run_wsgi_app
run_wsgi_app(get_application(process_func))
#!/usr/bin/python
# -*- coding: utf-8 -*-
from juno import *
init({'use_db': False, 'use_templates': False, 'log': False})
@get('/')
def hi(web):
return 'Hi gae'
run(mode='appengine')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment