I haven't looked at your gem yet. Is it set up in a way to extend it to support installation of stacks on different platforms, say define two machines as unbuntu, and an third as an OS X Server?
On Nov 30, 2006, at 10:49 AM, [EMAIL PROTECTED] wrote: > > http://codemode.blogspot.com/2006/11/deprec-install-rails-stack-and- > deploy.html > > I've released a new gem called deprec which automates the installation > of a Rails stack on a stock ubuntu 6.06 server. Starting with a clean > install, it installs apache, mongrel, mysql, rubygems, etc > and configures them for your application. It's quick and only takes > about 6 commands from start to finish. > > One thing you'll notice is you don't need to be in a rails project > anymore to use extra recipes. This is due to the dotfiles patch I > submitted a couple of weeks ago. You can do this to install the stack > on three hosts simultaneously with the following: > > ## install rails stack > # > # this currently only works with ubuntu 6.06 server installed > # you need to have an account on this machine and sudo access > #export HOSTS=r01,r02,r03 # define some hosts to mess with > cap setup_ssh_keys # copy out your public keys > cap install_rails_stack # install apache, rubygems, mongrel, > rails, etc. > unset HOSTS # stop overriding cap's hosts list > > Capistrano finds the extra tasks because ~/.caprc has a line that > reads > "require 'deprec/recipes'" > This was put there when you setup deprec like so: > > ## install deprec on workstation > # > sudo gem install deprec -y # installs what you need > deprec_dotfiles # patches capistrano + creates your > ~/.caprc > cap show_tasks # now you have deprec tasks included > > > So now you can deploy your projects with: > > # setup dns for your domain or put an entry in /etc/hosts > cd /path/to/app > deprec --apply-to . --name bailey --domain bailey.net.au > cap setup > # put svn details in config/deploy.rb or run 'cap setup_scm' to import > project > cap deploy_with_migrations > cap restart_apache > > Any comments, feedback, (patches!) would be appreciated. I'm > interested > in > making it possible for other gems to extend deprec. Perhaps with > gem_plugins. > Support for other linux distros, *bsd, etc would be obvious > extensions. > > A huge thanks to Jamis for writing Capistrano. After starting on this > project I > found myself reading and utilizing a lot of code by Bradley Taylor, in > particular > the RailsMachine and VMbuilder gems. Neil Wilson wrote three > capistrano > plugins > that are used in this project. I'd like to say a huge thanks to these > guys for helping > make my work easier! > > - Mike > > > > --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
