Minitut -getting Juno to run with Werkzeugs autoreloading server

7 views
Skip to first unread message

Voltron

unread,
May 9, 2009, 2:18:16 AM5/9/09
to juno-framework
from juno import *
import werkzeug


@route('/')
def index(web):
return 'Hello, Springfield!'

app = run(mode='wsgi')

# Important, do not pass the port as as string!
werkzeug.run_simple('localhost', 8000, app, use_reloader=True)


Thats all folks

Brian

unread,
May 11, 2009, 5:56:02 AM5/11/09
to juno-framework
Ah, I see you had figured it out anyways, ignore my other post on the
topic then.
Reply all
Reply to author
Forward
0 new messages