Google App. Engine - Hosting our Web Application -
all,
we trying host our web application on google app. engine little success.
here specifics:
web application built on html5, svg & javascript. using python 2.6 upload. used following tutorial upload getting errors once uploaded.
link tutorial: http://www.labnol.org/internet/host-website-on-google-app-engine/18801/
we getting errors in appcfg.py python file. totally clueless how go using guidance awesome, tutorials more so.
update: further outcry , milimetric's helpful post, here more detail:
we have managed upload web application onto google app engine. going dashboard, can see application running (we can see instance graphs , cpu stats), however, when execute custom link web application, 'hello world' message.
we followed tutorial milimetric & rolled 'appcfg.py' original state. following tutorial, made changes 'app.yaml' (inserted our application name). didnt write custom python script.
we not getting errors anywhere, message 'hello world' upon executing link in browser window.
hope above more useful.
cheers,
if of following redundant (or went through steps), let me know , i'll edit. didn't know start or how familiar app engine were.
- that tutorial set functional app engine site. able running without errors before adding own code? try running locally launcher (localhost:8080 default).
- to add code, have start main.py file tutorial. google app engine applications use google.appengine.ext.webapp namespace started , listen requests. in main.py, start mainhandler , add code there.
- to add more "routes" app, @ wsgiapplication constructor: webapp.wsgiapplication ([('/(.*html)?', mainhandler)], debug=true) tutorial. example, can have route go contact-us this: webapp.wsgiapplication ([('/(.*html)?', mainhandler), ('/contact-us', contactushandler)], debug=true).
- as far tutorials, google app engine "getting started" tutorial primer in mindset: http://code.google.com/appengine/docs/python/gettingstarted/
Comments
Post a Comment