How do i setup a tg2 app with python2.7? Tried Existing Turbogears instructions(http://docs.webfaction.com/software/turbogears.html) with no success. Tried custom app instructions (http://forum.webfaction.com/viewtopic.php?id=2621) but can't create file under webapps. Thanks asked 31 Oct '12, 23:22 snakewrestler |
We currently don't have a one-click installer for TurboGears running on Python2.7 so to set up TurboGears with Python 2.7 you would need to set up an application of type "Custom -> Custom app (listening on port)". Then just configure your TurboGears application to run as you usually would, with python2.7, and have it listen on the port given in the control panel for the application. answered 31 Oct '12, 23:50 waynek Thanks for quick reply! I will give it a try. If I'm transferring an existing app this way, can I transfer files as described in your 2.6 docs or does it have to be setup as egg per tg2 recommendation.
(01 Nov '12, 08:12)
snakewrestler
If you set up your app's directory structure to match the structure of our TurboGears/Python2.6 app, then you should be able to use the steps provided in our documentation. If you prefer to set it up as an egg, you're free to do that also. All that really matters is that paster can load and serve your application.
(01 Nov '12, 12:13)
seanf
|