瀏覽代碼

Addition of Agile-Trac plugin.

While Agilo is nice and very useful I wanted to try a more open source
alternative. This may change again in the future.
bmallred 13 年之前
父節點
當前提交
96a80617a8
共有 3 個文件被更改,包括 14 次插入3 次删除
  1. 13 3
      install.sh
  2. 1 0
      util/trac-create
  3. 0 0
      www/.htaccess

+ 13 - 3
install.sh

@ -36,6 +36,11 @@ sudo cp -R ./apache/sites-available/* /etc/apache2/sites-available/
36 36
sudo cp -R ./www/* /var/www/
37 37
sudo cp ./util/* /usr/bin/
38 38
39
# Configure Agile-Trac
40
sudo easy_install http://svn.agile-trac.org/BRANCH/AGILE-TRAC/SOURCE/0.11/REL/
41
sudo mv /usr/lib/python2.6/dist-packages/trac /usr/lib/python2.6/dist-packages/trac-orig
42
sudo svn co http://svn.agile-trac.org/BRANCH/AGILE-TRAC/SOURCE/0.11/REL/patch/trac/ /usr/lib/python2.6/dist-packages/trac
43
39 44
# Configure sites available
40 45
sudo rm /etc/apache2/sites-enabled/* 
41 46
cd /etc/apache2/sites-enabled; sudo ln -s ../sites-available/devel .
@ -49,8 +54,13 @@ sudo chown -R www-data:www-data /var/lib/git
49 54
sudo chown -R www-data:www-data /var/lib/trac
50 55
sudo chown -R www-data:www-data /var/www
51 56
52
# Create administrator password
53
sudo htpasswd –c /var/lib/trac/.htpasswd admin
54
55 57
# Restart web server
56 58
sudo apache2ctl restart
59
60
# Create administrator password
61
echo
62
echo ATTENTION
63
echo Please execute the final command listed below to assign an
64
echo administrative password.
65
echo
66
echo sudo htpasswd –c /var/lib/trac/.htpasswd admin

+ 1 - 0
util/trac-create

@ -40,6 +40,7 @@ rm tmp.ini
40 40
echo "
41 41
[components]
42 42
acct_mgr.* = enabled
43
agiletrac.* = enabled
43 44
bitten.* = enabled
44 45
customfieldadmin.* = enabled
45 46
mastertickets.* = enabled

.htaccess → www/.htaccess