Warehouse + Leopard Server
Posted by BM5k on April 13, 2008 at 04:03 AM
I’ve managed to get SVN & Warehouse somewhat up and running on my server, and now that he’s online, I’m trying to get everything 100%.
Right now, I’m testing the following post-commit hook in one of my repositories to see if it works. The directory names have been changed to match my server, but otherwise this is just the basic suggestion from the Warehouse FAQ.
#!/bin/sh
cd /Library/WebServer/Rails/warehouse-1.1.6
/usr/bin/rake warehouse:post_commit \
RAILS_ENV=production \
REPO_PATH=$1 \
REVISION=$2
Comments
There are 2 comments on this post. Post yours →
cd /Library/WebServer/Rails/warehouse-1.1.6
has been replaced by
cd /Library/WebServer/Rails/warehouse/current
now that I’ve run rake:setup and corrected my directory structure.
Also, be sure that you run
sudo chown -R www:admin REPO
sudo chmod -R 775 REPO
So the proper permissions are set up after use
svnadmin create REPO to create your repository. This bit me in the ass!
I’ve posted a quick howto on the warehouseapp forums about Leopard Server + Subversion + Warehouse and getting everyone to play nice at the party.
Post a comment
Required fields in bold.