Installation and configuration of TRAC

Source: Internet
Author: User

TRAC is a python-based task management system.

This software has the following features:

1) tickit management, you can set a variety of ticket, and then modify and complete.

2) Wiki Management, which allows you to write various documents.

3) source code management, supporting the use of git libraries. Very convenient.

The official documents on the Internet are old and there may be some problems in configuration.

The following method is successfully tested.

Installation environment:

Ubuntu 14.04 lts with daily updates.

In this environment

Apache version: 2.4.7 // you can use apachectl-V to view

Python 2.7.6

[Installation]

1. TRAC 1.0.2 // sudo Pip install TRAC

2. wsgi: // sudo apt-Get install libapache2-mod-wsgi

3. htpasswd: // sudo apt-Get install apache2-utils

[Configuration]

1. Set the TRAC directory // trac-Admin projectname initenv

2. Set the wsgi script // trac-Admin projectname deploy ../deploy

// MV ../deploy/* projectname

3. chown-r www-data.www-data projectname

4. Create the password file htpasswd-C htpasswdfile Admin

5. trac-Admin projectname permission Add Admin trac_admin // added the admin panel.

6. Modify The apache2 configuration file.

Create/etc/apache2/conf-available/TRAC. conf

Ln-S/etc/apache2/conf-available/TRAC. CONF/etc/apache2/conf-enabled/TRAC. conf

The content of TRAC. conf is:

Wsgiscriptalias/TRAC projectname/cgi-bin/TRAC. wsgi

<Directory projectname/cgi-bin>

Wsgiapplicationgroup % {Global}

Require all granted

</Directory>

<Location/TRAC/login>

Authtype basic

Authname "trac"

Authuserfile htpasswdfile (real file name)

Require valid-user

</Location>

7. Restart apache2 // sudo/etc/init. d/apache2 restart

You can log on and display it.

8. Enable git under plugin

9. Set git repository under Repositories

10. Git init, git add.

OK, it works.

Installation and configuration of TRAC

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.