Ubuntu安装trac

环境:

  • ubuntu : 10.04.04
  • trac : 1.0

安装

trac的安装路径是/opt/trac, 我们还是得使用vitualenv环境,

virtualenv-2.7 /opt/trac/env
cd /opt/trac
source env/bin/activate
pip install trac
pip install uwsgi

创建project

export YOUR_PROJECT_NAME=XXXXXXXXX
mkdir -p /opt/trac/projects
cd /opt/trac/projects
trac-admin ${YOUR_PROJECT_NAME} initenv

填写project name和db, 然后project就创建好了 ...

more ...