📜 ⬆️ ⬇️

Installing and configuring SVN, Apache, Trac for Windows. Part 3 - Trac

Back to: Part 2 - Apache and SVN ...


In this part:

Install Python

  1. run python-2.5.msi
  2. specify the installation directory C: \ usr \ local \ python
  3. further leave all settings as is
  4. wait until the end of the installation.

Install Trac

To install Trac correctly, SetupTools must be installed in advance. Install one by one:
  1. setuptools-0.6c7.win32-py2.5.exe
  2. mod_python-3.3.1.win32-py2.5-Apache2.0.exe , specify the path to the Apache C: \ usr \ local \ Apache2
  3. pysqlite-2.4.0.win32-py2.5.exe
  4. svn-python-1.5.2.win32-py2.5.exe
  5. Genshi-0.5.1.win32-py2.5.exe
  6. Trac-0.11.1.win32.exe

Create an instance of Trac for the foo-store project

All Trac projects will be placed in the D: \ trac-projects \ directory. Files of the foo-store project are located in the svn storage D: \ repos \ store1
  1. to initialize the environment, run the command line and execute the command:
      trac-admin d: \ trac-projects \ foo-store initenv 
  2. Answer the configurator's questions:
    • Project Name [My Project]> foo-store
    • Database connection string [sqlite: db / trac.db]> , leave empty
    • Database connection string [sqlite: db / trac.db]> , leave empty
    • Path to repository [/ path / to / repos]> D: \ repos \ store1 , specify the path to the SVN repository
  3. about the successful creation of the project environment you will be notified by the message Congratulations!
  4. Your Trac copy is ready for use.
Repeat the same steps for all your projects.

Next to: Part 4 - Last. Apache and Trac ...

')

Source: https://habr.com/ru/post/53754/


All Articles