Skip to content

Instantly share code, notes, and snippets.

@miyagawa
miyagawa / deploy.rb
Last active December 18, 2015 14:59
Capistrano template to run carton exec plackup with start_server (Server::Starter). Change to use Starman/Starlet/Monoceros if you want more concurrency.
require 'capistrano/ext/multistage'
set :stages, %w(vagrant)
set :default_stage, "vagrant"
set :application, "cpanmetadb"
set :repository, "git://github.com/miyagawa/cpanmetadb-perl.git"
set :scm, :git
set :use_sudo, false