You?ve built your website, and now you just need to deploy it. There are various ways that this could be done - from (S)FTP, to SCP and rsync, to running commands like git pull and composer install directly on the server which is not ideal. My favourite deployment tool of late is Fabric - a Python based command line tool for running commands locally as well as on remote servers. It?s language and framework agnostic, and flexible so you define the steps and workflow that you need - from a basic few-step deployment to a full Capistrano style zero-downtime deployment. This talk will cover some introduction to Fabric and how to write your own fabfiles, to then covering some examples and demos of different use case deployments for your application.

Comments

Comments are closed.

Simon R Jones at 11:01 on 1 Oct 2017

Interesting overview of Fabric. Could have done with a few more fabfile examples earlier on rather than going through all functions available. Covered a few types of deployment which was good. Not sure the bit on moving shell commands into a Yml file made sense - seemed to take the deployment back to being close to shell scripts and made it feel a bit over complicated. But I learnt about Fabric so I can experiment with it now, which is what I wanted to get out of the talk.