diff --git a/.gitignore b/.gitignore index 7817ed1..6282880 100644 --- a/.gitignore +++ b/.gitignore @@ -51,3 +51,7 @@ tailwind.config.js # Ignore temp files by rspec .rspec-failures + +Capfile +config/deploy.rb +config/deploy diff --git a/Gemfile b/Gemfile index 7803841..e988b13 100644 --- a/Gemfile +++ b/Gemfile @@ -39,9 +39,17 @@ group :development do gem "spring", "~> 2.0" gem "spring-watcher-listen", "~> 2.0" gem "web-console", "~> 4.2" + + gem "capistrano" + gem "capistrano-bundler" + gem "capistrano-passenger" + gem "capistrano-rails" + gem "capistrano-rbenv" + gem "capistrano-sidekiq" end group :production do + gem "figaro", "~> 1.2" gem "sidekiq", "~> 6.0" gem "whenever", require: false end diff --git a/Gemfile.lock b/Gemfile.lock index 76a532c..ad69327 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -87,7 +87,10 @@ GEM activerecord (>= 4.2) addressable (2.8.4) public_suffix (>= 2.0.2, < 6.0) + airbrussh (1.5.2) + sshkit (>= 1.6.1, != 1.7.0) ast (2.4.2) + base64 (0.2.0) batch-loader (1.5.0) bcrypt (3.1.19) better_html (2.0.1) @@ -107,6 +110,25 @@ GEM activesupport (>= 3.0.0) uniform_notifier (~> 1.11) byebug (11.1.3) + capistrano (3.18.1) + airbrussh (>= 1.0.0) + i18n + rake (>= 10.0.0) + sshkit (>= 1.9.0) + capistrano-bundler (2.1.0) + capistrano (~> 3.1) + capistrano-passenger (0.2.1) + capistrano (~> 3.0) + capistrano-rails (1.6.3) + capistrano (~> 3.1) + capistrano-bundler (>= 1.1, < 3) + capistrano-rbenv (2.2.0) + capistrano (~> 3.1) + sshkit (~> 1.3) + capistrano-sidekiq (2.3.1) + capistrano (>= 3.9.0) + capistrano-bundler + sidekiq (>= 6.0) capybara (3.39.0) addressable matrix @@ -395,6 +417,8 @@ GEM faraday-rack (1.0.0) faraday-retry (1.0.3) ffi (1.15.5) + figaro (1.2.0) + thor (>= 0.14.0, < 2) file_validators (3.0.0) activemodel (>= 3.2) mime-types (>= 1.0) @@ -517,6 +541,7 @@ GEM multi_xml (0.6.0) multipart-post (2.2.3) mustache (1.1.1) + mutex_m (0.2.0) net-imap (0.2.3) digest net-protocol @@ -525,8 +550,13 @@ GEM net-protocol net-protocol (0.2.1) timeout + net-scp (4.0.0) + net-ssh (>= 2.6.5, < 8.0.0) + net-sftp (4.0.0) + net-ssh (>= 5.0.0, < 8.0.0) net-smtp (0.3.3) net-protocol + net-ssh (7.2.3) nio4r (2.5.9) nokogiri (1.14.5) mini_portile2 (~> 2.8.0) @@ -759,6 +789,12 @@ GEM actionpack (>= 5.2) activesupport (>= 5.2) sprockets (>= 3.0.0) + sshkit (1.22.1) + base64 + mutex_m + net-scp (>= 1.1.2) + net-sftp (>= 2.1.2) + net-ssh (>= 2.8.0) ssrf_filter (1.1.1) stringio (3.1.0) strscan (3.0.7) @@ -822,10 +858,17 @@ DEPENDENCIES bootsnap (~> 1.3) brakeman (~> 5.4) byebug (~> 11.0) + capistrano + capistrano-bundler + capistrano-passenger + capistrano-rails + capistrano-rbenv + capistrano-sidekiq decidim (= 0.28.0) decidim-decidim_awesome! decidim-dev (= 0.28.0) decidim-term_customizer! + figaro (~> 1.2) letter_opener_web (~> 2.0) listen (~> 3.1) mdl diff --git a/config/credentials.yml.enc b/config/credentials.yml.enc index 32a93b8..486adda 100644 --- a/config/credentials.yml.enc +++ b/config/credentials.yml.enc @@ -1 +1 @@ -b3Jc9X58cEzWGgnrpFqh1kvX4LAK9LM74jBIA+b7FycX9sFfER1/tmfezCar+qgoBa5Q7AG0CqZ3sauHR9wrgh1OuOrITdpSON8Qp7ofUypVhRpFuEvtoAPII2YfTGhtrZEQUDNOkvGfOJ8/6g5QzzFRZmFYaKi38R0OnVD+AtPuVysxQhdZ2tNsHpuk4N9LyxrY1xhRNI+vEokM5wkZJUl9w0QYfbFYIynGTtnRMwV/KVFbAAaqxepvYI2LtcNeg+IBxYCdhp4LKx8wmGEm189vESSyuWT7AIiRdmAP0odiGvr9Op+gNPj5yJxSYPttsopS8/UpI8+BtAFkqv73RJO8IRi7BBVgXtEscfwoEQcGQWkzwvmh1Ufe1wlpiLpSrmTH09EVsHTsz6L/jJzf5CwCz6ZKLIWC7Fzk--4q14InXQ+mAj07Cl--dPL8vpJ5d9nx9MTSADmPmQ== \ No newline at end of file +JeL9DIws83BdfLKFzTSh7KzqhmeBKmQydG3vGZ5b5CqtRKniM4L43LDFsxSuQwYJK/mIRcIV9edOYmjYFnXzPcssN4nxtgQM9y0TplsDsjSBOqQCdFMvWcC/tVNMOf1PgJPpFBTQ/78WMGhJ3unqBqS1drJptWTYpOJ7uF13LlJkkImx+Gytanj/cMBMvksGXiLjj/OJi9+bEvM/E2Mz4kotgVeNa0bqNlWjD9CJbkB7H+wXlUpLMwDqI3j4wLXo5dNrmTZXeflKhe6KJwwkPYxRnIr3FaPhzS8fZvChkMwzV6zfwaclLIjt4Nzcymkss+lUVB2LQLhz6+3ei/k3+yzMB/sPylEPjhuLoK2GPuSYIxVrE0dm9wNPLZjVWy88sdDUCQlRfBQP/1+gND4X7VleLfjR0TqppBEs--c2JGipr/ZYVO6FWR--0dJNVlVLkqTj2GHR9+fcZA== \ No newline at end of file