TG2.1 deployment with mod_wsgi in WebFaction

18 views
Skip to first unread message

Raj

unread,
Jul 11, 2010, 1:30:36 PM7/11/10
to TurboGears
Hi,
Does anyone have a step by step procedure to deploy a TG2.1 app in
WebFaction server?
I created a mod_wsgi3.2 application in WebFaction. There are two
directories named apache2 and htdocs created within the application by
using the WebFaction controlpanel.
Now, I need to create a virtual environment and deploy the application
in this wsgi environment.
Does anyone experienced in installing TG with mod_wsgi environment in
WebFaction?

Thanks
Raj

Graham Dumpleton

unread,
Jul 11, 2010, 6:38:55 PM7/11/10
to TurboGears
For background, ensure you at least read:

http://code.google.com/p/modwsgi/wiki/IntegrationWithPylons
http://code.google.com/p/modwsgi/wiki/VirtualEnvironments

Reading other documentation on mod_wsgi site and getting a hello world
program working first is also a very good idea to help you understand
what needs to be done.

http://code.google.com/p/modwsgi/wiki/QuickConfigurationGuide

Graham

Tim Black

unread,
Jul 11, 2010, 11:00:15 PM7/11/10
to turbo...@googlegroups.com
On 07/11/2010 12:30 PM, Raj wrote:
> Hi,
> Does anyone have a step by step procedure to deploy a TG2.1 app in
> WebFaction server?
>
Though it's not under mod_wsgi, I did succeed in deploying a TG2.1 app
on Webfaction following the steps listed here:

http://caneypuggies.alwaysreformed.com/wiki/CreateTG21App

Tim Black

Raj

unread,
Jul 12, 2010, 1:50:47 PM7/12/10
to TurboGears
Many thanks!
@Graham, I am trying to work upon the links you have shared
@Tim, I have already running an application in TG2.1 in webfaction in
daemon mode with autostart script. Now I wish to test the benefits of
using mod_wsgi. Do anyone really tested TG2.1's performance in live
web applications?

Raj
Reply all
Reply to author
Forward
0 new messages