mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
1,014 B
1,014 B
layout | title |
---|---|
default | A remote server automation and deployment tool written in Ruby. |
A Simple Task
{% highlight ruby %} role :demo, %{example.com example.org, example.net} task :uptime do |host| on :demo, in: :parallel do uptime = capture(:uptime) puts "#{host.hostname} reports: #{uptime}" end end {% endhighlight %}
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. Popular extensions add support for Wordpress blogs as well as Symfony and Node.js applications.
If your language has special deployment requirements, Capistrano can easily be extended to support them.