WebFaction
Community site: login faq

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
12
accept rate: 0%


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.

permanent link

answered 31 Oct '12, 23:50

waynek
4254
accept rate: 27%

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
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×52
×2
×1

question asked: 31 Oct '12, 23:22

question was seen: 2,303 times

last updated: 01 Nov '12, 12:13

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM