oliverdavies.uk/source/_presentations/deploying-drupal-fabric.md

1.6 KiB
Raw Blame History

title description meta speakerdeck events
Deploying Drupal with Fabric How to use Fabric, a Python command line based library, to deploy your Drupal applications.
og
title description type
Deploying Drupal with Fabric You've built your Drupal site, now learn how to deploy it with Fabric. website
id ratio url embed
40d1eca4bd484afc86295924fff5dd41 1.77777777777778 https://speakerdeck.com/opdavies/deploying-drupal-and-anything-else-with-fabric <script async class="speakerdeck-embed" data-id="" data-ratio="" src="//speakerdeck.com/assets/embed.js"></script>
name location url date time
DrupalCamp Dublin 2017 Dublin, Ireland http://2017.drupal.ie 2017-10-20 15:00 - 15:40
name location date
Drupal Somerset Glastonbury, UK 2017-10-26

Youve 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 (not recommended).

My favourite deployment tool of late is Fabric - a Python based command line tool for running commands locally as well as on remote servers. Its language and framework agnostic, and unopinionated 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 Drupal project.