Skip to content

Files and settings to use capistrano in odyssey program

Notifications You must be signed in to change notification settings

CodeboxxGrading/capistrano

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How-To

  1. Use only what you need from the Gemfile and copy/paste it to your own Gemfile. Basically it would be gems related to Capistrano, something like these ones inside the development group of your Gemfile

gem 'capistrano', '> 3.10', require: false gem 'capistrano-rbenv', '> 2.2' gem 'capistrano-rails', '~> 1.4', require: false gem 'capistrano-bundler', '>= 1.1.0' gem 'capistrano3-puma', github: "seuros/capistrano-puma" gem 'ed25519', '>= 1.2', '< 2.0' gem 'bcrypt_pbkdf', '>= 1.0', '< 2.0'

1. Still in the `Gemfile`, make sure to use the same version as this template for the **puma gem**. Version 5 is installed by default in new application, so it should be changed manually.
```ruby
gem 'puma', '~> 4.3.11'
  1. From this repository, copy/paste those files to the same path of your existing application: Capfile, /config/deploy.rb, /config/deploy/production.rb
  2. The Capfile file needs to be at the root of your project
  3. Inside the file /config/deploy.rb, update your application name and your repository url
  4. Inside the file /config/deploy/production.rb, update the app name on line 11

About

Files and settings to use capistrano in odyssey program

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%