~/talk

Automated Deployment with WP-CLI and Aliases

Talkat WordCamp Edinburgh 2018 · 2018-11-17..11-18· [wordpress, devops-and-delivery]
links:none on file
slides:none on file

Automates copying a production WordPress database to local by combining WP-CLI, SSH key auth, VVV local VM and a short Bash script that runs remotely via aliases YAML. Script runs a remote wp db export - which redirects SQL to a local file, runs local wp db import, performs a search‑and‑replace of production and dev URLs, then removes the dump. Setup is repeatable, works across grouped remotes, and fits in just a few lines.

AI-written summary · about

  1. 0:00Introduction and overview
  2. 3:36Problem and solution with WP-CLI
  3. 5:47Local development environments
  4. 8:38What is WP-CLI
  5. 11:30VVV and virtual machines
  6. 13:39SSH configuration basics
  7. 15:27WP-CLI and aliases introduction
  8. 17:10Setting up aliases in WP-CLI
  9. 18:36Database commands with WP-CLI
  10. 19:19Combining commands into scripts
  11. 24:41Final script walkthrough
  12. 25:44Conclusion and resources
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.