Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Treehouse

Deployment with Capistrano Course (How To)

via Treehouse

Overview

Deploying a web app to a production server involves steps that you're going to need to repeat every time you release a new version, such as pulling the changes from Git and restarting your web server. Doing it manually may not seem too bad at first, but over time the potential for mistakes adds up. So in this course, we're going to show you how to automate deploys to make them fast, easy, and safe. We'll be using the Ruby community's most popular deployment framework, Capistrano.

What you'll learn

  • Rails production deployment
  • Capistrano
  • SSH

Syllabus

Try Out Capistrano

Learn what Capistrano can do for you, and take a tour of its basic features.

Chevron 3 steps
  • What is Capistrano?

    1:31

  • Trying Capistrano

    9:11

  • Basic Capistrano Configuration

    6 questions

Deploy a Rails App with Capistrano

Use Capistrano to deploy a Rails app. Set up tasks to automate database creation and server restart.

Chevron 7 steps
  • Deploying a Rails App

    8:12

  • Deploying a Code Challenge

    3 objectives

  • Adding a Capistrano Task

    11:39

  • Capistrano Tasks

    5 questions

  • Starting the Server

    11:42

  • Restarting Unicorn

    13:05

  • Capistrano Summary

    0:50

Taught by

Jay McGavren

Reviews

Start your review of Deployment with Capistrano Course (How To)

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.