You will need to copy on the production server both your app and web2py. The web2py web server (technically cherrypy's wsgiserver.py) may or may not be running. You decide and it depends on the web hosting service.
The ideal situation is a web host that runs apache + mod_wsgi. In this case you will not be running wsgiserver and it is the most solid configuration. Some web hosts do not support mod_wsgi so web2py gives you many choices. web server / running? none / YES apache + mod_wsgi / NO apache + mod_python / NO apache + mod_proxy / YES anything (lighttpd, cherokee, ...) + mod_fcgi / YES This is the same with any web framework because of how the mod_* work. Massimo On Dec 21, 1:08 am, Tokyo Dan <[email protected]> wrote: > Thanks for all of your help. > > I'm just a bit confused. Let's say I develop a Python app, say a web- > based game, using web2py framework for the game website and the built- > in webserver for initial development and testng. Now after I'm finshed > testing and developing I want to move my game server code and game > website to a production server at some hostng site. Will it run on the > hosting server without having to install and run the web2py webserver > software? > > On Dec 21, 5:31 am, "Yarko Tymciurak" <[email protected]> wrote: > > > web2py is distributed as an executable, "stand alone" application, with > > "welcome" as the default application. > > You could build your own executable, with your own application included (as > > the "default" to come up - you can put it in "init" to accomplish this). > > > In that way, you would have a "stand alone" distributable application that > > would come as an executable (for Windows, or Mac - someone else would have > > to say how this works for Linux)..... > > > It would still be a web application, that would come up in the end user's > > browser - but it would be one executable to "click" on, and it would come up > > in your app. > > > Is this something like what you had in mind? > > > Regards, > > Yarko > > > On Sat, Dec 20, 2008 at 10:47 AM, Mark Larsen <[email protected]> wrote: > > > > Tokyo Dan, > > > > Not sure what you mean by stand-alone, but I'm using web2py to run a > > > client application. The web2py framework runs in the background using > > > the built-in webserver, the start menu item for my application > > > launches IE pointed tohttp://127.0.0.1:8000/appName. To give it all > > > a more seamless look, I run web2py with the -t option to put it in the > > > taskbar and compiled it using py2exe as a GUI application to get rid > > > of the need for the command prompt window. > > > > If any of this is a help I can create an AlterEgo entry with how I > > > compile web2py (I've been meaning to do this anyway). > > > > Mark > > > > > Does this mean it is impossible to create standalone web apps with > > > > Python > > > > and Web2py? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

