producer-rails¶ ↑
Ruby on Rails specific macros and tests for producer.
Usage¶ ↑
# config/deploy.rb require 'producer/rails' set :repository, 'git.example:repository_path' set :app_path, 'deployment_path' deploy
# Deploy for the first time $ producer config/deploy.rb -t host.example -- init # Deploy updated application (with application restart) $ producer config/deploy.rb -t host.example -- update # Start application $ producer config/deploy.rb -t host.example -- start # Stop application $ producer config/deploy.rb -t host.example -- stop # Restart application $ producer config/deploy.rb -t host.example -- restart