Edgewall Software

Changes between Version 31 and Version 32 of TracOnWindows


Ignore:
Timestamp:
Jul 29, 2004, 11:39:50 AM (20 years ago)
Author:
wolff@…
Comment:

added docutils inst (for restructured text) and changed a typo in httpd.conf

Legend:

Unmodified
Added
Removed
Modified
  • TracOnWindows

    v31 v32  
    88 * PySQLite 0.5.0-py2.3
    99 * Trac 0.6.1
     10 * docutils 0.3.3
    1011
    1112Contact [mailto:Daragh@i2i-Tech.com Daragh Fitzpatrick] for more info.
     
    3435  http://subversion.tigris.org
    3536
     375. Install docutils
     38  http://docutils.sourceforge.net/
     39{{{
     40  expand and run from the expanded docutils-xxx directory
     41  > D:\python23\python install.py
     42}}}
     43
    3644=== Create Repository ===
    37 5. Create repository directory
     456. Create repository directory
    3846{{{
    3947D:\> md d:\svn
    4048}}}
    4149
    42 6. Create repository
     507. Create repository
    4351{{{
    4452D:\> svnadmin create d:\svn\repo1
    4553}}}
    4654
    47 7. Create skeleton repository structure in d:\temp\project
     558. Create skeleton repository structure in d:\temp\project
    4856  Example:
    4957{{{
     
    6068}}}
    6169
    62 8. Build repository tree
     709. Build repository tree
    6371{{{
    6472D:\> svn import d:\temp\project file:///d:/svn/repo1 -m "Initial Load"
    6573}}}
    6674
    67 9. Create local sandbox
     7510. Create local sandbox
    6876{{{
    6977D:\> svn checkout file:///d:/svn/repo1 d:\project
     
    7280=== Configure Apache ===
    7381
    74 10. Copy files
     8211. Copy files
    7583{{{
    7684D:\> copy d:\progra~1\subver~1\httpd\*.* d:\progra~1\apache~1\apache2\modules
     
    8189}}}
    8290
    83 11. Create password file (w/user 'admin')
     9112. Create password file (w/user 'admin')
    8492{{{
    8593D:\> d:\progra~1\apache~1\apache2\bin\htpasswd -cm d:\svn\.htaccess admin
    8694}}}
    8795
    88 12. Configure Apache (edit httpd.conf)
    89   12.1. Restrict access/lockdown as appropriate
    90 
    91   12.2. Add Modules to httpd.conf
    92 
    93     12.1.1. Uncomment:
     9613. Configure Apache (edit httpd.conf)
     97  13.1. Restrict access/lockdown as appropriate
     98
     99  13.2. Add Modules to httpd.conf
     100
     101    13.1.1. Uncomment:
    94102{{{
    95103LoadModule dav_module modules/mod_dav.so
    96104LoadModule dav_fs_module modules/mod_dav_fs.so
    97105}}}
    98     12.1.2. Add (after):
     106    13.1.2. Add (after):
    99107{{{
    100108# Subversion
     
    103111}}}
    104112
    105   12.3. Add location root for multiple repositories
     113  13.3. Add location root for multiple repositories
    106114{{{
    107115# Subversion
     
    118126}}}
    119127
    120 13. Restart your machine
    121 
    122 14. Test your install of Subversion
     12814. Restart your machine
     129
     13015. Test your install of Subversion
    123131  http://[hostname]:80/svn/repo1
    124132
     
    127135
    128136=== Setup Users ===
    129 15. Add users to password file
     13716. Add users to password file
    130138{{{
    131139D:\> d:\progra~1\apache~1\apache2\bin\htpasswd -m d:\svn\.htaccess user
     
    133141
    134142=== Install Trac Prerequisites ===
    135 16. Install Subversion Python Bindings
     14317. Install Subversion Python Bindings
    136144  (Get from same download page as Subversion)
    137145  [[br]]Copy libsvn and svn directories to D:\Python23\Lib
    138146
    139 17. Install SQLite
     14718. Install SQLite
    140148  http://www.sqlite.org
    141149  [[br]]Copy sqlite.exe to D:\Program Files\SQLite
    142150
    143 18. Install PySQLite
     15119. Install PySQLite
    144152  http://pysqlite.sourceforge.net
    145153
    146 19. Install Trac
     15420. Install Trac
    147155  http://www.edgewall.com/products/trac/
    148156
     
    157165
    158166=== Fix a few things ===
    159 20. (BUG) Edit first line of D:\Python23\Scripts\trac-admin to have:
     16721. (BUG) Edit first line of D:\Python23\Scripts\trac-admin to have:
    160168{{{
    161169
     
    163171}}}
    164172
    165 21. (BUG) Edit first line of D:\Python23\share\trac\cgi-bin\trac.cgi to have:
     17322. (BUG) Edit first line of D:\Python23\share\trac\cgi-bin\trac.cgi to have:
    166174{{{
    167175
     
    169177}}}
    170178
    171 22. Copy CGI
     17923. Copy CGI
    172180{{{
    173181D:\> copy d:\python23\share\trac\cgi-bin\trac.cgi d:\progra~1\apache~1\apache2\cgi-bin
    174182}}}
    175183
    176 23. (BUG) not able to run trac-admin initenv...  Not available in 0.6.1 ''(This does work in 0.7.1)
     18424. (BUG) not able to run trac-admin initenv...  Not available in 0.6.1 ''(This does work in 0.7.1)
    177185
    178186=== Configure Trac DB ===
     
    180188The trac database can be named to match the subversion repository it is working with, which is especially useful if more than one repository will ever be created. In this example {{{"trac.db"}}} would read as {{{"repo1.db"}}}
    181189
    182 24. Run trac-admin
     19025. Run trac-admin
    183191{{{
    184192D:\Python23\Scripts> python trac-admin d:/svn/trac.db
    185193}}}
    186194
    187 25. Initialize DB
     19526. Initialize DB
    188196{{{
    189197Trac [d:/svn/trac.db]> initdb
     
    205213If you get an error here stating that libdb42.dll was not found, copy ''[SVN PATH]''\bin\libdb42.dll to ''[PYTHON PATH]''\lib\libsvn\, then try again.
    206214
    207 26. (BUG) Load Wiki
     21527. (BUG) Load Wiki
    208216{{{
    209217Trac [d:/svn/trac.db]> wiki load d:/python23/share/trac/wiki-default
    210218}}}
    211219
    212 27. Add administrative permissions (the below adds all permissions for 'admin' user)
     22028. Add administrative permissions (the below adds all permissions for 'admin' user)
    213221{{{
    214222Trac [d:/svn/trac.db]>
     
    219227=== Add Trac to Apache ===
    220228
    221 28. Edit httpd.conf:
     22929. Edit httpd.conf:
    222230  Add: (copy this - there's a typo in Edgewall's version)
    223231{{{
    224232# TRAC
    225 Alias /trac "D:/Python23/share/trac/htdocs"
     233Alias /trac "D:/Python23/share/trac"
    226234<Directory "D:/Python23/share/trac/htdocs">
    227235  Options Indexes MultiViews
     
    264272 Or compile it into Apache.
    265273
    266 29. Restart Apache
    267 
    268 30. Hold your breath, test Trac install
     27430. Restart Apache
     275
     27631. Hold your breath, test Trac install
    269277  http://[hostname]:80/cgi-bin/trac.cgi
    270278
     
    274282
    275283=== Finally... ===
    276 31. Install Subversion clients as necessary (try [http://rapidsvn.tigris.org RapidSVN] & [http://tortoisesvn.tigris.org/ TortoiseSVN])
    277 
    278 32. Don't forget to lock down the security on the box!
    279 
    280 33. Now go get a *real* drink
     28432. Install Subversion clients as necessary (try [http://rapidsvn.tigris.org RapidSVN] & [http://tortoisesvn.tigris.org/ TortoiseSVN])
     285
     28633. Don't forget to lock down the security on the box!
     287
     28834. Now go get a *real* drink