Miscellaneous notes on getting stuff working at WebFaction.
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 /.
WebFaction has python 2.5 installed. Therefore, use python2.4 to execute any TurboGears script.
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.
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.