Deployment

See how to deploy your applications, including managing permissions.

Series Videos

1
Episode 1
06:23

Learn a basic way to deploy files to your server with secure copy.

2
Episode 2
05:18

Make deployment easier by setting up SSH keys and configuration.

3
Episode 3
04:21

Refine our simple deployment method using rsync instead of scp. We'll also see how to use SSH options with rsync.

4
Episode 4
18:32

Dynamic applications require a better deployment process. Let's use Python's Fabric to handle deployment over SSH.

This SSH task runner can handle running commands locally and remotely to make a killer deployment process.

5
Episode 5
11:42

We'll learn to use Laravel's Envoy to handle deployment over SSH.

6
Episode 6
18:39

I take feedback from your comments and my own recent experience to develop a more advanced Envoy deployment script.

We'll grab from GitHub quicker, use ACL permissions, see how to allow our deploy user to use sudo securely, persist log files and more edge cases.

The improved script will handle environment files, the log directory, allowing the deploy user to reload PHP-FPM and more!

7
Episode 7
15:35

Let's get to automating! This video will show you how to use NodeJS to listen for GitHub webhooks, and kick off an automated (zero-downtime!) deployment script when we push to our master branch.

All Topics