podemos-info/census

View on GitHub
Capfile

Summary

Maintainability
Test Coverage
# frozen_string_literal: true

# Load dotenv variables
require "dotenv/load"

# Load DSL and set up stages
require "capistrano/setup"

# Include default deployment tasks
require "capistrano/deploy"

# Load the SCM plugin appropriate to your project:
require "capistrano/scm/git"
install_plugin Capistrano::SCM::Git

# Include tasks from other gems included in your Gemfile
require "capistrano/rvm"
require "capistrano/bundler"
require "capistrano/rails/assets"
require "capistrano/rails/migrations"

require "capistrano/systemd/multiservice"
install_plugin Capistrano::Systemd::MultiService.new_service("sneakers")
install_plugin Capistrano::Systemd::MultiService.new_service("puma")

# Load custom tasks from `lib/capistrano/tasks` if you have any defined
Dir.glob("lib/capistrano/tasks/*.rake").each { |r| import r }