Edgewall Software

Changes between Version 197 and Version 198 of TracOnWindows


Ignore:
Timestamp:
Apr 27, 2007, 6:48:18 AM (17 years ago)
Author:
anonymous
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • TracOnWindows

    v197 v198  
    5959 1. Click "Start" > "Run..." (or press Win+R)
    6060 1. Type "cmd" and click "Ok"
    61  1. Type "cd \Python24\Scripts"
     61 1. Type "cd c:\Python24\Scripts"
    6262
    6363You should now be in the folder "C:\Python24\Scripts" where you can run the "easy_install" command to install the required software.
     
    8989|| ''PySqlite'' ||  [http://initd.org/pub/software/pysqlite/releases/2.3/2.3.2/pysqlite-2.3.2.win32-py2.4.exe pysqlite-2.3.2.win32-py2.4.exe] (or the [http://initd.org/pub/software/pysqlite/releases/2.3/2.3.2/pysqlite-2.3.2.win32-py2.3.exe Python 2.3 version]) ||
    9090
    91 Download the installer pysqlite-2.3.2.win32-py2.4.exe to your usual download directory. When it has finished downloading, double-click on it to run the installer. The installer window will appear, labeled "Setup pysqlite-2.3.2".
     91Download the installer pysqlite-2.3.2.win32-py2.4.exe to your usual download directory.
     92
     93When it has finished downloading, double-click on it to run the installer. The installer window will appear, labeled '''Setup pysqlite-2.3.2'''.
    9294
    9395On the first window of the installation dialog, click Next to begin the installation process.
    9496
    95 On the second window, confirm the Python install directory. If you have followed the instructions above, it will be "c:\\python24\". The default install directory will show as "c:\python24\Lib\site-packages\". Accept the defaults or change them to match your own directory structure. Click Next to proceed.
     97On the second window, confirm the Python install directory. If you have followed the instructions above, it will be "c:\python24\". The default install directory will show as "c:\python24\Lib\site-packages\". Accept the defaults or change them to match your own directory structure. Click Next to proceed.
    9698
    9799The next window in the dialog gives you a chance to cancel or continue. To continue, click Next.
    98100
    99 On the next window, the installer shows you installation progress as files are written to the target locations. When the processing is complete, click Finish.
     101On the next window, the installer shows you installation progress as files are written to the target locations. When the processing is complete, click Finish. If you check the contents of c:\python24\Lib\site-packages\ directory, you should see the directory '''pysqlite2''', which contains the database scripts.
    100102
    101103=== Install Subversion (optional) === #Subversion
     
    108110[http://subversion.tigris.org/files/documents/15/35379/svn-1.4.2-setup.exe svn-1.4.2-setup.exe]
    109111
     112The installation begins by displaying a small dialog titled '''Setup'''. It asks you whether you wish to continue. Click Yes.
     113
     114A larger window appears, titled '''Setup - Subversion'''. The first window of the dialog says "Welcome to the Subversion Setup Wizard". Click Next. Click "I accept the agreement" and then click Next. On the next window, read the important information and click Next.
     115
     116Select your destination directory for the Subversion installation. Click Next. You will then have the option of installing a Subversion menu item on the Start Menu, and a selection of places to put Subversion icons. Click Next. Finally you are ready to install. Click Next and the files will be copied to your selected destination. A couple more windows follow the install process, and then you're done.
     117
    110118====  ==== #svnbindings
    111119Go back to your command line to install the Subversion Python library:
     
    116124'''Note:''' the "-Z" option is necessary when installing Subversion so that it is "unzipped".  Trac will not be able to access Subversion if it is zipped.
    117125
     126The installation process will begin with "Downloading http://subversion.tigris.org/downloads/svn-python-1.4.2.win32-py2.4.exe" and -- if successful -- ends with "Processing dependencies for svn-python==1.4.2".
     127
    118128=== Install Trac ===
    119129
     
    123133'''Note:''' do '''not''' run easy_install on the Trac installer.  This is not currently supported and Trac will not work correctly when installed this way.
    124134
     135When you run the installer, it displays a window titled '''Setup Trac 0.10'''. On the first window of the installation dialog, click Next to get started. Confirm your Python directory and your intended installation directory. Click Next. Click Next again to start the installation. When the process is over, click Finish to complete the installation.
     136
    125137----
    126138
     
    133145Back to the command line:
    134146{{{
    135 md \projects
    136 cd projects
     147md c:\projects
     148cd c:\projects
    137149}}}
    138150
    139151'''Optional:''' if you're using Trac with Subversion you can create a new repository for your source code:
    140152{{{
    141 mkdir \projects\svn
    142 svnadmin create \projects\svn\my-project
    143 }}}
     153md c:\projects\svn
     154svnadmin create c:\projects\svn\my-project
     155}}}
     156
     157This step causes Subversion to create a subdirectory (c:\projects\svn\my-project) containing the basics of a Subversion project.
    144158
    145159=== Initialize a new Trac project environment: ===
     
    148162
    149163{{{
    150 mkdir trac
     164md trac
    151165\Python24\Scripts\trac-admin.py trac\my-project initenv
    152166}}}
     
    154168Follow the interactive prompts to input information about your project.  If you are unsure what to put you can simply press "Enter" to accept the default value.
    155169
    156 '''Subversion users:''' when asked for the "Path to repository" input the folder of the repository you just created:
     170{{{
     171Project Name [My Project]>
     172
     173Database connecting string [sqlite:db/trac.db]>
     174
     175Repository type [svn]>
     176
     177Path to repository [/path/to/repos]>
     178
     179Template directory [C:\Python24\share\trac\templates]>
     180}}}
     181
     182After this response, the script will say "Creating and Initializing Project". A large number of messages will scroll, finishing with "Congratulations!".
     183
     184'''Note for Subversion users:''' when asked for the "Path to repository" input the folder of the repository you just created:
    157185{{{
    158186Path to repository [/path/to/repos]> c:/projects/svn/my-project
    159187}}}
    160188
    161 Note: be sure to include the full path, including the drive letter.
     189'''Note:''' be sure to include the full path, including the drive letter.
    162190
    163191== Try it out ==
     
    170198}}}
    171199
    172 Open your browser to http://localhost:8000 to test out your new Trac project.
    173 
    174 Press Ctrl+Break to stop tracd
     200Open your browser to http://localhost:8000 to test out your new Trac project. You should see the title "Welcome to Trac 0.10" in your browser, and in the command window from which you just launched '''tracd''' there will be a series of status log messages. These messages will continue to update as you move around the Trac site. When you are done, return to the command window from which you launched tracd and press Ctrl+Break to stop tracd.
    175201
    176202== Troubleshooting ==