TurboGear setup

Python come pre-installed with most of the linux version. To install the TurboGear pack just type

  • yum install TurboGears


This will install the TurboGears package on your system. Use the following command to check if the installation was success.

  • tg-admin info


Now we will install easy_install utility that will make the installation of other TurboGear modules a breeze.
To install easy_install utility download the ez_setup.py script and run it.

  • python ez_setup.py


This will install the easy_install utility on your system.

Some of the turbo gear modules that are necessary are SQLObject and database specific modules ( as mysql-python ).You can install these by simply invoking the easy_install utility with the module name as parameter.

  • easy_install SQLObject
  • easy_install mysql-python


Your TurboGear setup is ready for use.
Have a look at the following tutorial for getting started with TurboGears.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.