I am going to setup tg using nginx in virtualenv and uwsgi. So setup is 
going to be like:

# Become su
sudo su

# The main dir for hosting and virtualenvs
mkdir /web

# Create venv dir for all virtualenvs
mkdir /web/venv

# create virtualenv for tg
mkdir /web/venv/tg22_venv
source /web/venv_tg22_venv/bin/activate
easy_install -i http://tg.gy/220 tg.devtools

# create app directory for all web based applications
mkdir /web/venv/apps

# clone your developed tg application inside apps to /web/venv/apps/tgapp
hg clone <your developed app> <hosted app tgapp>

I will be using nginx web server and uwsgi. I know how to configure them so 
that they run the tgapp's built in paster server
nginx -> uwsgi -> paste server.
The question is what should be the permission set on the /web and 
subsequent directories for security reasons etc..
Is "chown www-data:www-data -R /web" will be enough?


-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/turbogears/-/MH5xVl0gY8gJ.
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/turbogears?hl=en.

Reply via email to