summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-apps/trac/files/0.8-postinst-en.txt')
-rw-r--r--www-apps/trac/files/0.8-postinst-en.txt42
1 files changed, 42 insertions, 0 deletions
diff --git a/www-apps/trac/files/0.8-postinst-en.txt b/www-apps/trac/files/0.8-postinst-en.txt
new file mode 100644
index 000000000000..1ed8fcf12cd5
--- /dev/null
+++ b/www-apps/trac/files/0.8-postinst-en.txt
@@ -0,0 +1,42 @@
+Install Instructions
+====================
+
+To complete the install, run this commands:
+
+ trac-admin ${MY_HOSTROOT}/trac/<project-name> initenv
+
+To add security, create a password database. This command is for Apache 2;
+adjust for the webserver of your choice.
+
+ htpasswd2 -c ${MY_HOSTROOT}/trac.passwd <user>
+
+Now, all you need to do is to configure your webserver. This would go
+into Apache's .htaccess file; adjust for the webserver of your choice.
+
+ <Location "/cgi-bin/trac.cgi">
+ SetEnv TRAC_ENV ${MY_HOSTROOT}/trac/<project-name>
+ </Location>
+ <Location "/cgi-bin/trac.cgi/login">
+ AuthType Basic
+ AuthName "trac"
+ AuthUserFile ${MY_HOSTROOT}/trac.passwd
+ Require valid-user
+ </Location>
+
+Upgrade Instructions
+====================
+
+If you are upgrading from 0.6.1, please follow the instructions here:
+
+ http://projects.edgewall.com/trac/wiki/TracUpgrade
+
+Note that the single .db file has been replaced by a directory, and that
+the TRAC_DB environment variable has been renamed as TRAC_ENV.
+
+Running Multiple Copies Of Trac
+===============================
+
+If you want to run multiple copies of trac on your website, please see Dju's
+excellent instructions here:
+
+ http://wiki.dju.elegiac.net/wiki/MultipleTracInstancesOnGentoo