skip to main | skip to sidebar

urby by ub

Monday, July 14, 2014

Deploying A Ruby On Rails Application 4.1 with Capistrano 3

Deploying A Ruby On Rails Application 4.1 with Capistrano 3

  • Deploying A Ruby On Rails Application 4.1 with Capistrano 3
    • Introduction
    • Getting Started
      • Our App
    • Setting and Securing Your Server
      • Server and development machine
      • Securing the Server
      • Generating Your SSH Keys
      • Logging into the Server
        • With root password
        • With a sudoer account
      • Upgrading Packages
      • Fail2Ban
      • Creating a deploy User and Setting Up SSH Keys
      • Additional Steps
    • Installing The Web Stack
      • Installing the Tools
      • Installing Ruby and Rails
      • Installing Passenger and Nginx
      • Installing MySQL
    • Setting remote git repository on server
    • Capistrano - Making Deployment Easy
      • Capistrano is Local
      • Capistrano’s File Structure
      • Adding Config Files
      • Setting up for the First Deployment
      • Final Nginx Config
    • You’re Done

Introduction

This walkthrough is based on tutorial Deploying A Ruby On Rails Application on the RackSpace Cloud.
There are some differences concerning versions of software packages used. Some
changes reflect my personal preferences. The principal changes is that we use
the latest (as at the time of writing) version of Capistrano.

Our software stack will be as follows.

  • Ubuntu version 13.04 LTS Raring Ringtail
  • Passenger with Nginx
  • Ruby version 2.1.2
  • Rails version 4.1.0
  • MySQL
Read more »
Posted by ub at 9:54 PM 1 comment:
Labels: Capistrano 3, Deployment, Phusion passenger, Ruby on Rails 4.1
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Search This Blog

Blog Archive

  • ▼  2014 (1)
    • ▼  July (1)
      • Deploying A Ruby On Rails Application 4.1 with Cap...
  • ►  2010 (6)
    • ►  August (1)
    • ►  May (1)
    • ►  March (1)
    • ►  February (1)
    • ►  January (2)
  • ►  2009 (1)
    • ►  December (1)

About Me

ub
Moscow, Russia
A programmer
View my complete profile
 

Labels

C++ Capistrano 3 cmake Code Deployment development en game Google Wave HOWTO installation internals KDE4 left-handed mouse linux patch Phusion passenger Plasma Qt Creator ru Ruby Ruby 1.9 Ruby on Rails 4.1 source code Threading walkthrough YARV