水曜日, 11月 11, 2009

Capistrano Deploys from the Repository into Production

From P640 Agile Web Development with Rails Third Edition, The Pragmatic Bookshelf
インストール
sudo gem install --include-dependencies capistrano


To add the necessary files to your project for Capistrano to do its magic, execute
the following command.
# On your local computer
$ cap --apply-to /local/project/path [applicationname]
exists config
create config/deploy.rb
exists lib/tasks
create lib/tasks/capistrano.rake


$ rake remote:code_deploy



Rails+Capistrano+Apache2.2+Mongrel_clusterのメモ

0 件のコメント: