|
Revision 432, 0.7 kB
(checked in by mbailey, 11 months ago)
|
updated
|
| Line | |
|---|
| 1 |
== svn |
|---|
| 2 |
|
|---|
| 3 |
# Add the following to your deploy.rb (or ~/.caprc if always the same) |
|---|
| 4 |
set :scm, 'your.svn.server' |
|---|
| 5 |
|
|---|
| 6 |
# The run the following from the root the project you wish to import |
|---|
| 7 |
cap deprec:svn:install |
|---|
| 8 |
cap deprec:svn:setup |
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
# XXX Not tested on deprec2 |
|---|
| 12 |
# |
|---|
| 13 |
# |
|---|
| 14 |
# Installs subversion and trac software on server. |
|---|
| 15 |
# Creates subversion repository on server and imports project. |
|---|
| 16 |
# Sets up trac installation for project. |
|---|
| 17 |
# |
|---|
| 18 |
# role :scm, 'deptest.deprecated.org' |
|---|
| 19 |
# |
|---|
| 20 |
# # install packages |
|---|
| 21 |
# cap apache_install svn_install trac_install |
|---|
| 22 |
# |
|---|
| 23 |
# # import project |
|---|
| 24 |
# cap svn_import_project |
|---|
| 25 |
# cap trac_init |
|---|
| 26 |
# cap trac_start |
|---|
| 27 |
# |
|---|
| 28 |
# # your project will be viewable at http://yourdomain:8000/ |
|---|
| 29 |
# # you can add other users with 'cap trac_user_add' |
|---|
| 30 |
|
|---|
| 31 |
|
|---|