Dieterbe / anthracite

an event / change logging/managament app
Apache License 2.0
295 stars 33 forks source link

Add deployment stanza #4

Closed kyzh closed 11 years ago

kyzh commented 11 years ago

Added a deployment stanza to the readme. Just a simple line to point people in the right direction

Dieterbe commented 11 years ago

good idea, but you have a typo ('applicaiton') and also you should just start with <path_to_anthracite>/anthracite-web.py (it has a shebang line)

kyzh commented 11 years ago

Updated the stanza and corrected the typo.
I don't really like simply using ./anthracite-web.py or <path_to_anthracite>/anthracite-web.py
Do you have any advise on how to run best in a production environment.
I would go for something along the line of nohup <path_to_anthracite>/anthracite-web.py > /var/log/anthracite-web.log 2>&1 &

Do you use any other way to get it running (via apache, else?)

Dieterbe commented 11 years ago

i run it in screen. better would of course be to run it under a good process supervision system (upstart, systemd, runit, ...). we use centos6 which uses upstart, haven't had time yet to write an upstart config file. (oh yes, and i have an apache virtualhost with proxy_pass in front, but that's not needed at all)

Dieterbe commented 11 years ago

thanks