This were the steps involved in the installation of TurboGears 0.9 in a
workstation with Windows 2000, WITHOUT an SVN client.

1. Install Python:
(If you already have Python, skip this step)
The Python version available at the time of writing this entry was
2.4.2 and you can download it from http://www.python.org/download/,
execute the installer and follow instructions.

2. Add Python to PATH:
Go to Control Panel -> System -> Advanced -> Environment Variables and
add or edit the PATH variable to have
";C:\Python24;C:\Python24\Scripts". (If you installed Python to a
directory other than C:\Python24, make sure you substitute the correct
directory.)

3. Download TurboGears 0.9:
Go to http://www.opensource4you.com, search for the link
"turbogears/trunk_YYYYMMDD.tgz", for example, today, this link is
"turbogears/trunk_20060205.tgz" and download it.

4. Extract TurboGears 0.9:
Extract the contents of the file we've just download to C:\, that
would let us with the contents of the file at C:\trunk
5. Download ez_setup (easy_install?):
From: http://turbogears.com/download/ez_setup.py, save it in C:\.

6. Now Proceed with the Installation:
Open up a command console.

Make sure that you're at the directory where you've downloaded
ez_setup.py and execute the following command:

C:\>ez_setup.py

C:\>easy_install -f http://peak.telecommunity.com/snapshots/
RuleDispatch

Now, go to the directory where you extracted the contents of the file
trac_YYYYMMDD.tgz

C:\>cd trunk
C:\trunk>cd thirdparty
C:\trunk\thirdparty>easy_install cherrypy
C:\trunk\thirdparty>easy_install kid
C:\trunk\thirdparty>easy_install paste
C:\trunk\thirdparty>easy_install sqlobject
C:\trunk\thirdparty>cd ..
C:\trunk>setup.py install

Given that you're already at the command console, execute the
following command:

C:\>tg-admin (This command must print the following to screen)

    TurboGears 0.9a0 command line interface

    Usage: C:\Python24\Scripts\tg-admin-script.py [command] [options]

    Available commands:
    i18n Manage i18n data
    quickstart Create a new TurboGears project
    shell Start a Python prompt with your database available
    sql Run the SQLObject manager
    toolbox Launch the TurboGears Toolbox
    update Update an existing turbogears project

Thats all for now, you can make a test project with 'tg-admin
quickstart', for more info, go to www.turbogears.org

Optionally, you could install pysqlite from www.pysqlite.org

Parcially based in:
http://www.twistedrails.org/blog/2005/11/13/my-turbogears-development-environment/
http://turbogears.com/download/windows.html
http://turbogears.com/community/contributing.html

Reply via email to