Trac: Difference between revisions

From
Jump to navigation Jump to search
No edit summary
 
No edit summary
 
Line 10: Line 10:
$ trac-admin /home/mymoco/project permission add mj TRAC_ADMIN
$ trac-admin /home/mymoco/project permission add mj TRAC_ADMIN
</nowiki></pre>
</nowiki></pre>

= Add Project =
$ cd /home/trac
$ trac-admin projects/new_project initenv
...
$ svnadmin create svn/new_project
$ chown -R www-data: {projects,svn}/new_project
$ # TODO ... create directories (branches, tags, trunk) automatically - Trac requires revision #1

Latest revision as of 10:30, 29 March 2008

Add WebAdmin

  • Add at the end of file:

[components] webadmin.* = enabled

$ vi /home/mymoco/project/conf/trac.ini

  • Add "TRAC_ADMIN" privs to "mj"

$ trac-admin /home/mymoco/project permission add mj TRAC_ADMIN

Add Project

$ cd /home/trac
$ trac-admin projects/new_project initenv
...
$ svnadmin create svn/new_project
$ chown -R www-data: {projects,svn}/new_project
$ # TODO ... create directories (branches, tags, trunk) automatically - Trac requires revision #1