Monday, August 13, 2007

Turbogears Installation

Getting Python

If you're new to Python, welcome. It's a great language

  1. Grab the Python 2.5 Installer.
  2. Run the installer.
  3. Add Python to your path.

    To do this, go to System Properties -> Advanced -> Environment Variables and add or edit the PATH variable to have ;C:\Python25;C:\Python25\Scripts, assuming you installed Python to the default location.


Installing TurboGears

You can run Python from any shell if your Python scripts directory is on your path. By default the scripts directory is C:Python25Scripts

  1. Open up a command line prompt (Start -> Run and type cmd)
  2. Download tgsetup.py and run
python tgsetup.py
  1. Make sure your installation succeeded by running tg-admin info.
edit from: http://docs.turbogears.org/1.0/InstallWindows

No comments: