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

SymfonyCasts

Animated Deployment with Ansistrano

via SymfonyCasts

Overview

Ok, your app is created and it's time to deploy! But how!?

Sure, there are many tools for deployment... but some are too simple... and others are beasts to setup. Instead, try Ansistrano: a powerful deployment tool built on top of Ansible that can get your site deployed quickly and safely:

  • Up and running with Ansitrano as an Ansible role
  • The Ansistrano workflow and versioned file structure
  • Shared files between releases
  • Executing Composer
  • Symfony deployment specifics: running migrations, fixing permissions, etc
  • Rolling back

Syllabus

  • Setup: Server Provisioning
  • Ansistrano Role Installation
  • Anatomy of an Ansistrano Deploy
  • Deploy with git
  • Virtual Host Setup
  • Deploying Keys & Private Repos
  • Ansistrano Stages & Shared Files
  • Deploy Hooks & parameters.yml
  • parameters.yml: Handling Secret Config
  • Composer & Cache Permissions
  • Building Webpack Encore Assets
  • Database Setup
  • Safe Migrations
  • Faster Deploy with Shared Files
  • Logs, Sessions & File Permissions
  • Cache Permission Secrets
  • Optimizing with Cache
  • Priming cache.app
  • Cleanup & GitHub OAuth Token
  • Deploying to Multiple Servers
  • Load Balancer & Reverse Proxy Setup
  • CircleCI: Auto-Deploy my Code!
  • Optimizing Performance!
  • When things go wrong: Rollback

Taught by

Victor Bocharsky and Ryan Weaver

Reviews

Start your review of Animated Deployment with Ansistrano

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.