﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	resolution	keywords	cc	parents
40	Document how to run without dev environment	Sebastian Spaeth	Sam Kleinman	"{{{
#!rst
The current docs show nicely how to set up a dev environment,
however it is not clear how to set up the thing in a non-dev way
(I guess that is the ""deployment"" docs, right?)

Here are some things to consider when writing this. I got it up and
running in Ubuntu Maverick in a non-dev way. I had to install some
things with ""pip"" and used the distribution packages whenever
possible.

So stuff that needs documentation:

paster running on port 80 is not possible without having the whole
thing running as root. Which will then require to also have celeryd
running as root, as it needs to delete files that paster put there.
I solved this in a very hackish way with ""Capabilities"" on Linux.
Downside is, I had to grant /usr/bin/python the permission to
access ports <1024. I achieved this with

::

    sudo setcap 'cap_net_bind_service=+ep' /usr/bin/python2.6

(not saying we should recommend that to anyone. I guess we will
propose to run this as a local user on a nonpriviledged port and
proxy it through nginx or so.

Anyway, it runs beautiful as www-data on my server now.



}}}"	task	closed	minor	0.1.0	documentation	FIXED			
