Thanks. I looked over the web.py section of that link; there wasn't a lot there. For one thing, nothing at all about nginx. Now I probably should have mentioned that I'm very new to web programming, so a good number of things that may be obvious to others won't be to me. So....what *is* uwsgi? Is it the same as wsgi? In the example given, where do the logs/stderr/stdout go? And does the example use nginx, somewhere under the hood, or what? I guess my major confusion stems from the fact that I thought web.py as a web framework, has everything you need. It has certainly served webpages for me. I thought it was basically a replacement for i.e. Apache? Or is the server separate from the framework? Is the framework just in charge of generating pages, and the server actually delivers them? nginx seems to be a server, in addition to other stuff I don't know what it does, but then what does uwsgi/wsgi actually do? The WSGI homepage says it's a full stack for building hosting services. I don't know what that means :P

On 12/10/2013 10:47 PM, Joey Chang wrote:
webpy + uwsgi + nginx
http://projects.unbit.it/uwsgi/wiki/Example

It's simple and convenient.

        



2013/12/11 Steven Brown <[email protected] <mailto:[email protected]>>

    Hi everyone, it's been quiet for a while on the list!  I am trying
    to do my servers the Right Way, but I'm not sure what I
    should/need to do.  First, I want to properly daemonize my server.
     I have been doing something like

    nohup python myServer.py 1234 &

    but I'm not sure if that really covers everything.  I feel like
    there's some "official" way to make a process a daemon, that does
    everything correctly, but I'm not sure what it could be!  That way
    is also not so good with logging; I want to send all my stdout and
    stderr to a log file, or 2 log files, if that can happen.  Doing
    it on the command line with > redirects hasn't really worked, and
    I feel like that's not what I should be doing anyway.  And then
    there is the Deployment section on the website, but I'm not sure
    if I actually need any of that...I mean, I don't get why I need to
    use Apache, for example.  web.py works out of the box, so what
    would I add yet another program to my stack for?  But, I do want
    to do things right, so if I need to use Apache or whatever I will;
    but then, I don't know how to make a decision on which method to
    use....

    Overall, the documentation is just a bit fragmented, and I'm not
    sure how to pull out what I need.  Can anyone offer some insight?

-- You received this message because you are subscribed to the Google
    Groups "web.py" group.
    To unsubscribe from this group and stop receiving emails from it,
    send an email to [email protected]
    <mailto:webpy%[email protected]>.
    To post to this group, send email to [email protected]
    <mailto:[email protected]>.
    Visit this group at http://groups.google.com/group/webpy.
    For more options, visit https://groups.google.com/groups/opt_out.


--
You received this message because you are subscribed to the Google Groups "web.py" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/webpy.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/webpy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to