Archive for March, 2009
learning git
GIT is becoming more popular so I’ve decided to start using it. I found few good resources:
GNU Screen
A Friend of mine introduced me to GNU screen a great tool which can be used in different ways. One of them is a session sharing which is awesome when 2 or more people are working together in Linux env.
stage deployment with capistrano and passenger
I’m still looking around for a stage deployment setup with Capistrano.
Here are few ideas/links I found useful.
- multi_staging_environment_for_rails_using_capistrano_and_mod_rails
- deploying-to-staging-and-production-with-capistrano
- using-capistrano-with-passenger-mod_rails/
Update:
It turned out this is pretty simple with the capistrano-ext gem:
http://weblog.jamisbuck.org/2007/7/23/capistrano-multistage
set :default_stage, "development" set :stages, %w(production testing development) require 'capistrano/ext/multistage'
apache2 utils
deactivate site:
a2dissite site_name
activate site:
a2ensite site_name