Writing /home2/kitto/data/metakitto/data/cache/8/8b8bfeda230b6938a203f2e1826741bb.i failed
Writing /home2/kitto/data/metakitto/data/cache/8/8b8bfeda230b6938a203f2e1826741bb.xhtml failed

WebFaction Tips

Miscellaneous notes on getting stuff working at WebFaction.

autostart.cgi

This is the script which starts up the TurboGears site if it isn't already running. Edit the script to make sure it runs the correct start-tg.py startup script. Also, it redirects back to ”/”, which may not be appropriate if the TurboGears site isn't anchored at /.

python

WebFaction has python 2.5 installed. Therefore, use python2.4 to execute any TurboGears script.

prod.cfg

Add server.socket_port = xxx where xxx is the port number assigned to your application server. This is readily displayed at https://panel.webfaction.com/app_/list.

Add server.webpath if TurboGears is running somewhere other than /. Can't figure out how to access server.webpath from Kid templates, so I can't access /static files like css and images.

tg-admin

In order for tg-admin to use prod.cfg, which contains the production settings including DB URI, etc, you have to delete setup.py and dev.cfg from the directory.

 
wiki/webfaction_tips.txt · Last modified: 2006/12/19 20:15 by 67.53.39.146
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki