On Monday, October 22, 2018 at 10:15:35 PM UTC-7, jajk...@ucsc.edu wrote: > > Hello! > When I say "python web2py.py" it starts up the server > so how do I start up my own application that uses web2py >
[I think you posted a gluon question using your other email; if so, you say you've seen the videos so you may already know my answers] Your application is a child of web2py. When web2py is started, it opens a port (a socket, in the terms of most OSes) and listens on that port for requests in the http/https protocol. These requests, often from a browser, specify a URL (or for sticklers, a URI) that describes the web resource that is wanted. Note that web2py, on startup, pretends it has received a request for "http://localmachine/", and tells your default browser to display the corresponding page; out of the box, that is mapped to "welcome/index.html". If you use the browser window that displayed this, but edit the address bar to say "http://localmachine/myapp/mynicepage.html", web2py runs your application to generate a response. > do I need to always have my application in the web2py applications folder? > > No, but it is an advanced topic to move it. > should I put the gluon folder in my applications folder? > > No. > when I created my "simple" application from the admin interface, I can't > seem to be able to start it up in the same way I start up web2py. > I have been reading the manual, but I did not see anything that addressed > this. > > web2py is a server, and your application is one of the services it provides. I hope the relationship is a little clearer now, and the videos should definitely help. > Thanks > -Jade > Dave /dps -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.