サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
ニコニコ動画
capistranorb.com
Variables The following variables are settable: :application The name of the application. :deploy_to default: -> { "/var/www/#{fetch(:application)}" } The path on the remote server where the application should be deployed. If application contains whitespace or such this path might be invalid. See Structure for the exact directories used. :repo_url URL to the repository. Must be a valid URL for the
Search Overview What is Capistrano? Getting Started The Readme, start here! Installation Structure Configuration User Input Preparing Your Application Flow Rollbacks Cold Start Version Locking Tasks Local Tasks Before / After Hooks Authentication & Authorisation Task cookbook Introduction Rails related tasks Advanced Features Console PTYs Filtering Properties Property Filtering Host filtering Role
role :demo, %w{example.com example.org example.net} task :uptime do on roles(:demo), in: :parallel do |host| uptime = capture(:uptime) puts "#{host.hostname} reports: #{uptime}" end end Capistrano extends the Rake DSL with methods specific to running commands on() servers. For Any Language Capistrano is written in Ruby, but it can easily be used to deploy any language. If your language or framewor
このページを最初にブックマークしてみませんか?
『A remote server automation and deployment tool written in Ruby.』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く