This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
oliverdavies.uk-old-sculpin/source/_talks/deploying-php-with-fabric.md

19 lines
1.2 KiB
Markdown
Raw Normal View History

2017-01-16 20:12:51 +00:00
---
title: Deploying PHP Applications with Fabric
2017-03-19 09:11:09 +00:00
type: Lightning talk
2017-02-19 21:14:22 +00:00
location: Nomad PHP
slides:
url: https://speakerdeck.com/opdavies/deploying-php-applications-with-fabric
embed: '<script async class="speakerdeck-embed" data-id="c147618ce07546ca92f92983c52d6a41" data-ratio="1.37081659973226" src="//speakerdeck.com/assets/embed.js"></script>'
2017-02-19 23:37:51 +00:00
tags: [meetup, php, fabric]
2017-03-19 09:11:09 +00:00
events:
2017-03-19 10:03:16 +00:00
- { id: nomad_php, date: '2017-04-20', time: '19:00 (CET)' }
2017-01-16 20:12:51 +00:00
---
2017-02-19 23:05:39 +00:00
Youve built your application, 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][1] 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.
2017-02-19 23:05:39 +00:00
This talk will cover some introduction to Fabric and how to write your own fabfiles, and then look at some examples of different use case deployments for your PHP project.
[1]: http://www.fabfile.org