Screencast Deployment: Capistrano - Part 1 Ruby

  • Evan Machnic
  • 2511 views
Badge-student

Locked Content

A subscription is required for viewing this video. Enroll now to get full access to all Code School courses and content.

Enroll Now Sign in

Comments

  1. Thomas Bush said

    REALLY great tutorial. I have been searching for a good capistrano tut for quite some time. I even posted in the tutorial request section of this site not know that this tut had been released 2 hours earlier. Technically my deployments were working, but I was missing two monumental concepts: linked dirs and ssh keys. I set up ssh keys incorrectly so I could log in to the server, but never deploy with them. I could never get linked dirs working until now - which takes a 12 -15 minute deploy time down to about 10 seconds. Can't thank you enough!

  2. Faculty

    Evan Machnic said

    Thomasbush, thanks for the kind words. I would typically use Chef to manage the SSH keys but for the sake of time, I did it manually. I guess it's good because then it shows how in the screencast how it's done.

  3. Thomas Bush said

    I still have to go through your chef tutorials, do you use Vagrant and docker as well? I am trying to wrap my head around proper tools/usage. Of those three (chef, vagrant, docker) is there an order you would recommend I try to learn them? So much to learn and I am constantly feeling behind. Just wondering if one would make more sense than the others. Also do you (or code school) plan on making any vagrant or docker tutorials.

    Thanks!

  4. Faculty

    Evan Machnic said

    Thomas, if you have a pretty simple server configuration, it's perfectly acceptable to use Cap to manage it. Once you need to start managing multiple servers and more complex configuration, that's where I'd start using Chef. When using Chef and building up your configuration, using Vagrant makes things easier because you can create and destroy VMs as much as you need/want. In terms of Docker, I haven't used it so don't know about it but it's probably something that I'll invest some time into and maybe put together a screencast.

  5. Chemist said

    Thank you!

About This Screencast

In this first episode of our Code TV deployment series, Evan teaches us the basics of Capistrano using a Rails application as an example. Here we learn how to configure Rails for Capistrano and setup SSH settings before deploying to AWS.

You need to be an enrolled student in order to view this video and subscribe.

Enroll Now