webpy + uwsgi + nginx
http://projects.unbit.it/uwsgi/wiki/Example

It's simple and convenient.



2013/12/11 Steven Brown <[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].
> 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