I'm just wondering -- do you get the same errors with --user or --
group as you do with both --user & --group ?

i typically deploy like this:

    $ sudo bash
    $ su www-data
    $ cd  /var/www/virtual_envs
    $ virtualenv maypp-2.7       ## or whatever python version
    $ source /var/www/virtual_envs/maypp-2.7/bin/activate
    $ cd /var/www/sites
    # place the site under something like /var/www/sites/myapp
( maybe you have releases, maybe its scm )
    $ cd /var/www/sites/myapp/--path--to--egg
    $ python setup.py develop

The general idea, is that :
   1. i have a non-root user for one or more web-apps
   2. the virtualenvs are easy to find
   3. the apps/structures are easy to find
   4. the apps/structures are the user/group of the non-root web user.

i like to use nginx, so i'll use whatever stock non-root web user they
have to simplify my install ( www-data on ubuntu )




-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to