root/mkproject
| Revision 2, 375 bytes (checked in by root, 4 years ago) |
|---|
| Line | |
|---|---|
| 1 | #!/bin/bash |
| 2 | # set up repository and trac project -- jim |
| 3 | if [ "$1" ]; then |
| 4 | svnadmin create --fs-type fsfs /home/svn/$1 |
| 5 | echo subverion repository is /home/svn/$1 |
| 6 | trac-admin /home/trac/$1 initenv |
| 7 | echo to initialize authentication use: |
| 8 | echo htdigest -c /home/trac/$1/conf/trac.htdigest username |
| 9 | echo and add to /home/track/start |
| 10 | else |
| 11 | echo usage: mkproject projectname |
| 12 | fi |
Note: See TracBrowser for help on using the browser.
