This is a simple example of a Rails application that uses the capistrano-puma and sidekiq gems to deploy to a server running Puma and Sidekiq.
Create a .env file with the following variables:
TESTING_SERVER=127.0.0.1 # The IP address of the server you want to deploy to
TESTING_SERVER2= # A second server to deploy to (optional)
bin/cap {stage} sidekiq:install # Where stage is one of the files in config/deploy/
bin/cap {stage} puma:install
bin/cap {stage} deploy
Currently this application is tested in debian/ubuntu environments. Pull requests are welcome to add support for other operating systems.