2018-05-09 22:24:08 +00:00
|
|
|
|
---
|
|
|
|
|
title: 'Deploying Drupal with Fabric'
|
2020-03-08 17:52:59 +00:00
|
|
|
|
description:
|
|
|
|
|
How to use Fabric, a Python command line based library, to deploy your Drupal
|
|
|
|
|
applications.
|
2018-05-09 23:17:07 +00:00
|
|
|
|
speakerdeck:
|
2020-03-08 17:52:59 +00:00
|
|
|
|
id: 40d1eca4bd484afc86295924fff5dd41
|
|
|
|
|
ratio: '1.77777777777778'
|
|
|
|
|
url: 'https://speakerdeck.com/opdavies/deploying-drupal-and-anything-else-with-fabric'
|
|
|
|
|
embed:
|
|
|
|
|
'<script async class="speakerdeck-embed" data-id="" data-ratio=""
|
|
|
|
|
src="//speakerdeck.com/assets/embed.js"></script>'
|
2018-05-09 22:24:08 +00:00
|
|
|
|
tags: [meetup, conference, php, fabric, drupal]
|
|
|
|
|
meta:
|
2020-03-08 17:52:59 +00:00
|
|
|
|
og:
|
|
|
|
|
title: Deploying Drupal with Fabric
|
|
|
|
|
description:
|
|
|
|
|
"You've built your Drupal site, now learn how to deploy it with Fabric."
|
|
|
|
|
type: website
|
2018-05-09 22:24:08 +00:00
|
|
|
|
events:
|
2020-03-08 17:52:59 +00:00
|
|
|
|
- event: drupalcamp_dublin_17
|
|
|
|
|
date: 2017-10-20
|
|
|
|
|
time: '15:00 - 15:40'
|
|
|
|
|
- event: drupal_somerset
|
|
|
|
|
date: 2017-10-26
|
2018-05-09 22:24:08 +00:00
|
|
|
|
---
|
|
|
|
|
|
2020-03-08 17:52:59 +00:00
|
|
|
|
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 (not
|
|
|
|
|
recommended).
|
2018-05-09 22:24:08 +00:00
|
|
|
|
|
2020-03-08 17:52:59 +00:00
|
|
|
|
My favourite deployment tool of late is [Fabric][1] - a Python based command
|
|
|
|
|
line tool for running commands locally as well as on remote servers. It’s
|
|
|
|
|
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.
|
2018-05-09 22:24:08 +00:00
|
|
|
|
|
|
|
|
|
[1]: http://www.fabfile.org
|