SVN with Apache2.2 and DAV on Ubuntu

When I want neato http urls for my repository, as well as simple anonymous checkouts, this is how I roll:

Tags: subversion  Meta: 0 comments, permalink

Problems using Capistrano without a domain name

When using an ip address in the subversion url in deploy.rb, I kept running into timeouts when trying to deploy. As far as I can tell, capistrano needs to access the repository from both your local machine and the server. This is a problem because in most cases, my local machine will only recognize the server's external ip, and the server will only recognize it's internal ip. To get around it, I put a fake domain in my /etc/hosts file pointing to the external ip, and the same domain in the /etc/hosts file of the server pointing to 127.0.0.1. I then use that domain in the subversion url. The only headache there is that anyone who needs to deploy will also need an entry in their hosts file. I'm hoping to stumble upon a better solution soon.

Tags: subversion  Meta: 0 comments, permalink

Rails setup and deployment with Capistrano 2.0 on Ubuntu 7.04 (Feisty)

A very specific post here to serve as a reminder the next time I have to do this: Setting up Ubuntu 7.04 with rails, Apache 2.2, mongrel (clustered), MySQL5, subversion, and deploying with capistrano 2.0. So bleeding edge!

Tags: subversion  Meta: 5 comments, permalink