April 2011
2 posts
2 tags
1 tag
Capistrano: Deploy from local git repo
I’m a big fan of Git and use it for all my projects. Not all repos of my projects are hosted remotely (they are onDropbox however) but I still deploy them using Capistrano. Here’s how I do it from my local Git repo:
# deploy.rb set :application, "app_name" set :repository, "/Path/to/local/git/repo/.git" set :local_repository, "/Path/to/local/git/repo/.git" set :scm, :git set...