project_folder>capify .
config/deploy.rb
set :application, 'app_name'
set :user, 'user_ssh'
set :password, 'pass_ssh'
# saya menggunakan repo lokal
set :repository, 'file:///d:/repository/app_name/trunk'
set :svn_username, 'irfani'
set :svn_password, 'irfani'
# lokasi deploy di server
set :deploy_to, "/var/www/apps/#{application}"
# ambil data di local svn
set :deploy_via, :copy
# ambil data svn pake export bukan check out
set :copy_strategy, :export
# biar ringkas
set :copy_compression, :zip
set :use_sudo, true
set :rails_env, "production"
# lokasi server
role :web, '202.87.187.67'
role :app, '202.87.187.67'
role :db, '202.87.187.67', :primary => true
project_folder>cap deploy
On Tue, Apr 29, 2008 at 10:55 PM, king_youduan gouw <[EMAIL PROTECTED]>
wrote:
> ada yang bisa bikin script ruby yang pake capistrano yang bisa SVN and
> bisa di pake di beberapa server termasuk localhost??
>
>
> pleaseeeeee.......
>
>
>
--
irfani
http://irfani.web.id
Y! : irfani_s
[Non-text portions of this message have been removed]