Archive for the ‘Subversion’ Category

Setup Capistrano to deploy Rails application on Amazon EC2 with Git

1: Create a new Rails app – we’ll call is ‘deploytest’
$ rails deploytest
$ cd deploytest
2: Create a local Git repository for it
$ git init
$ git add *
$ git commit -a -m ‘initial commit’
$ git status
3: Create a couple of Capistrano files
$ capify .
4: Edit config/deploy.rb
# The name of your app
set :application, “deploytest”
# The directory on [...]

Step-By-Step setup slicehost server (fedora) for rails application.

Hi all as I worked on setting up 4 to 5 servers, I thought its better to document the stuff so that I/developers can refer it, So I am documenting the step-by-step process for setting up the slicehost server for rails application work with nginx as a web server and mongrel as a rails application [...]

Synchronize old svn with all revision history to new repository

First, create a SVN user for svnsync to use – let’s call this the ’svnsync user’. The easiest (and best) way to do this is edit the svnserve.conf and passwd files:
conf/svnserve.conf

# Uncomment this line.
password-db = passwd

conf/passwd

svnsync = secret

This gives read and write access to the ’svnsync user’. The svnsync program will authenticate with our repositories [...]