-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: svn://scm.deprecated.org/deprec/trunk@150 479ab18a-db23-0410-b897-fa3724b950b0
- Loading branch information
mbailey
committed
Oct 28, 2007
1 parent
7800b79
commit 38aff18
Showing
8 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
mongrel_cluster-1.0.2 | ||
mongrel-1.0.1 |
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
== trac - deprec | ||
|
||
/etc/init.d/tracd.sh # Start/Stop tracd | ||
|
||
This script looks in /var/www/apps/trac/projects for symlinks to trac project directories. It then starts up and serves them using the password file found | ||
in | ||
|
||
|
||
|
||
== setup | ||
|
||
# create directory for start script to find projects to serve | ||
sudo mkdir -p /var/www/apps/trac/projects | ||
sudo chgrp deploy /var/www/apps/trac/projects | ||
sudo chmod g+w /var/www/apps/trac/projects | ||
|
||
# link in projects (via capistrano task) | ||
application=demo | ||
cd /var/www/apps/trac/projects | ||
ln -s ../../${application}/trac $application | ||
|
||
|
||
== running local backup on workstation | ||
app=agr | ||
sudo mkdir -p /var/www/apps/trac/projects | ||
sudo ln -s ~/work/${app}/backup/trac /var/www/apps/trac/projects/${app} | ||
sudo ln -s ~/work/${app}/backup/repos /var/www/apps/${app}/repos | ||
|
||
== converting sqlite database from v2 to v3 | ||
|
||
cd /var/www/apps/${application}/trac/db/ | ||
mv trac.db trac.db-sqlite2 | ||
sqlite trac.db-sqlite2 .dump | sqlite3 trac.db-sqlite3 | ||
ln -s trac.db-sqlite3 trac.db |