• Stars
    star
    270
  • Rank 152,189 (Top 3 %)
  • Language
    HTML
  • Created almost 11 years ago
  • Updated almost 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Template for deploying Rails applications with Capistrano 3

Capistrano 3 Rails Config

Overview

This is a sample configuration for deploying Ruby on Rails applications with Capistrano 3.1 including Zero Downtime Deployment with Unicorn and Sidekiq background Workers.

Usage

See http://www.talkingquickly.co.uk/2014/01/deploying-rails-apps-to-a-vps-with-capistrano-v3/ for a tutorial on usage.

Or for more details, this is also the example configuration used in the book Reliably Deploying Rails Applications available on Leanpub: https://leanpub.com/deploying_rails_applications

Minimal Requirements

You should have the following in your Gemfile:

gem 'unicorn', '~> 4.8.3'

group :development do
  gem 'capistrano', '~> 3.2.1'

  # rails specific capistrano functions
  gem 'capistrano-rails', '~> 1.1.0'

  # integrate bundler with capistrano
  gem 'capistrano-bundler'

  # if you are using Rbenv
  gem 'capistrano-rbenv', "~> 2.0"

  # include helper tasks
  gem 'capistrano-cookbook', require: false
end

More Repositories

1

rails-server-template

A comprehensive Chef Repository which prepares an Ubuntu 20.04 server for Rails Application deployment
Ruby
164
star
2

ansible-osx-setup

Ansible script for setting up an Intel Mac for general web development
Jinja
92
star
3

kubernetes-sso-guide

Mustache
75
star
4

capistrano-cookbook

Tasks to reduce boilerplate when deploying Rails and Sinatra apps with Capistrano 3
HTML
55
star
5

docker_rails_dev_env_example

Example Rails 4.1 application with a Vagrant + Docker based development environment
ApacheConf
44
star
6

docker_rails_dev_env

Skeleton files for setting up a Vagrant + Docker based development environment for Rails
ApacheConf
44
star
7

dacker

Multi host Docker Orchestration tool written in Ruby
Ruby
28
star
8

basic_security-tlq

Chef script to lock down ubuntu server
Ruby
16
star
9

capistrano_stage

Simple capistrano config for unicorn and nginx
Ruby
14
star
10

location_tracker_app

JavaScript
12
star
11

ekg-arduino-chrome

Chrome app based real time streaming interface to the Olimex Arduino EKG Shield
JavaScript
8
star
12

fastcase

Simple wrapper around the Fastcase API
Ruby
8
star
13

location_tracker_api

Ruby
4
star
14

debian_dev_env

A comprehensive Debian development environment inc docker, zsh etc. Ideal for remote VSCode development via SSH.
Shell
4
star
15

ekg-arduino-chrome-sketches

The Arduino code for the the Olimex EKG Arduino Shield
Arduino
4
star
16

look_and_feel-tlq

Chef recipe to install basic server admin prettiness
Ruby
3
star
17

rails_backup_template

Simple template using the backup gem for Rails DB Backups
Ruby
3
star
18

Lascar-EL3-Python-Library

Python Interface to the Lascar EL3 Data Logger
Python
3
star
19

ping-analysis

Ping Analysis
Ruby
2
star
20

monit-tlq

Basic monit config
HTML
2
star
21

monit_configs-tlq

Chef recipe for general monit configs
Ruby
2
star
22

rdra_test_application

Test application for the Capistrano 3 Configuration in the Reliably Deploying Rails Applications Book
Ruby
1
star
23

rails_gem_dependencies-tlq

Chef recipe to install packages often needed by rails gems
Ruby
1
star
24

pebble_stock_android

Android app for pushing ftse prices to the pebble_stock pebble app (see pebble_stock repo)
Java
1
star
25

rails_4_deployment_demo

Ruby
1
star
26

talkingquickly.co.uk

Complete Copy of my blog
CSS
1
star
27

talkingquickly.github.io

TalkingQuickly Blog
CSS
1
star
28

paypal-report-anlayser

Paypal's reporting is to accounting what McDonalds is to fine dining. Fixes That.
Ruby
1
star
29

redis-tlq

Chef recipe for redis
Ruby
1
star
30

Simple-Health-Tracker

Ruby
1
star
31

object-detection-api

A simple Yolo V5 based Flask API which given an image, returns a JSON response with details of detected objects
Python
1
star
32

nginx-tlq

Chef recipe for nginx
Ruby
1
star
33

rdra_rails6_example

Ruby
1
star