Last active
August 8, 2018 15:01
-
-
Save hungmi/87c6aeacd22daa429bb67e41f1b10fe4 to your computer and use it in GitHub Desktop.
Capfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Capfile | |
# Load DSL and Setup Up Stages | |
require 'capistrano/setup' | |
require 'capistrano/deploy' | |
require "capistrano/scm/git" | |
install_plugin Capistrano::SCM::Git | |
require 'capistrano/rails' | |
require 'capistrano/bundler' | |
require 'capistrano/rbenv' | |
require 'capistrano/puma' | |
install_plugin Capistrano::Puma # Default puma tasks | |
install_plugin Capistrano::Puma::Workers # if you want to control the workers (in cluster mode) | |
install_plugin Capistrano::Puma::Nginx # if you want to upload a nginx site template | |
# Loads custom tasks from `lib/capistrano/tasks' if you have any defined. | |
Dir.glob('lib/capistrano/tasks/*.rake').each { |r| import r } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment