Don't forget to set up the permissions in order to apache can access all the stuff inside the directory of the application. What i do is including the virtual environment and the application itself inside the same directory and when i'm sure that the app works well i make 'www-data' the owner of the directory.
2011/4/13 Mengu <[email protected]>: > the exact file system on your development environment, goes to the > production environment. you can place the files wherever you want. be > it /home/timucin or /home/prod/project, it's up to you. > > after transfering your files, you will need to do `python setup.py > install` so everything your project needs will be installed on your > production server. the rest is setting up apache with mod_wsgi. > > good luck. :) > > On Apr 13, 9:11 am, Timuçin Kızılay <[email protected]> wrote: >> 12-04-2011 18:14, Alessandro Molina yazmış: >> >> >> >> >> >> >> >> >> >> > 2011/4/12 Timuçin Kızılay<[email protected]>: >> >> Hi, >> >> >> My TG2.1 project is now nearing to production. >> >> I'm reading the deployment docs from the tg site but I'm stuck with no >> >> clue. >> >> >> I have a server with ubuntu 10.04 on it. Apache and postgresql works fine >> >> and there are several virtualhost web sites (made with django) running on >> >> it >> >> with apache mod-python. My plan is run tg web sites on that server as >> >> virtual hosts. >> >> >> can you point me a direction to how to do that? >> >> > I usually deploy my projects with mod_wsgi. >> > If you want to follow the mod_wsgi way you can take a look at >> >http://code.google.com/p/modwsgi/wiki/IntegrationWithPylons >> >> I've tried to follow the turbogears deployment docs, I've installed the >> mod_wsgi, setup the baseline virtual environment and stuck there. >> >> I'm trying to figure out where to copy the projects files, what goes to >> which directory etc. >> >> >> >> >> >> >> >> >> And I need some tips about how to convert my development.ini file to >> >> production.ini >> >> > Most of it involves in turning to false all the debug options and >> > full_stack > > -- > You received this message because you are subscribed to the Google Groups > "TurboGears" 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/turbogears?hl=en. > > -- There's no religion but sex and music -- Sting -- You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears?hl=en.

