-
Notifications
You must be signed in to change notification settings - Fork 2
/
Capfile
43 lines (34 loc) · 1.27 KB
/
Capfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Copyright (c) 2019 Danil Pismenny <danil@brandymint.ru>
# frozen_string_literal: true
require 'rubygems'
require 'bundler'
Bundler.setup(:deploy)
require 'semver'
# Load DSL and Setup Up Stages
require 'capistrano/setup'
# Includes default deployment tasks
require 'capistrano/deploy'
require 'capistrano/scm/git'
install_plugin Capistrano::SCM::Git
require 'capistrano/scm/git-with-submodules'
install_plugin Capistrano::SCM::Git::WithSubmodules
require 'capistrano/rbenv'
require 'capistrano/nvm'
require 'capistrano/yarn'
require 'capistrano/bundler'
require 'capistrano-db-tasks'
require 'capistrano/shell'
require 'capistrano/rails/console'
require 'capistrano/rails/assets'
# require 'capistrano/faster_assets'
require 'capistrano/rails/migrations'
require 'capistrano/dotenv/tasks'
require 'capistrano/puma'
require 'bugsnag-capistrano' if Gem.loaded_specs.key?('bugsnag-capistrano')
require 'capistrano/sentry' if Gem.loaded_specs.key?('capistrano-sentry')
install_plugin Capistrano::Puma
# require 'capistrano/rails/console'
require 'capistrano/master_key'
require 'capistrano/systemd/multiservice'
install_plugin Capistrano::Systemd::MultiService.new_service('puma', service_type: 'user')
install_plugin Capistrano::Systemd::MultiService.new_service('sidekiq', service_type: 'user')