Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Valet + WP-CLI + Bash
Search
Alonso Indacochea
June 02, 2016
Technology
2
130
Valet + WP-CLI + Bash
Spin up a local WordPress deployment and remote repo using Laravel Valet, WP-CLI, and Bash
Alonso Indacochea
June 02, 2016
Tweet
Share
More Decks by Alonso Indacochea
See All by Alonso Indacochea
The New WordPress Paradigm: Pittsburgh
alonso_in
0
47
The New WordPress Paradigm: Sacramento
alonso_in
0
43
The New WordPress Paradigm
alonso_in
0
58
WordCamp 2016 review
alonso_in
0
71
From Bootcamp to WordPress Agency in 6 Months*
alonso_in
0
150
Other Decks in Technology
See All in Technology
25分で解説する「最小権限の原則」を実現するための AWS「ポリシー」大全 / 20250625-aws-summit-aws-policy
opelab
9
1.1k
UIテスト自動化サポート- Testbed for XCUIAutomation practice
notoroid
0
130
PHP開発者のためのSOLID原則再入門 #phpcon / PHP Conference Japan 2025
shogogg
4
730
フィンテック養成勉強会#54
finengine
0
170
BrainPadプログラミングコンテスト記念LT会2025_社内イベント&問題解説
brainpadpr
1
160
Node-RED × MCP 勉強会 vol.1
1ftseabass
PRO
0
140
Github Copilot エージェントモードで試してみた
ochtum
0
100
MySQL5.6から8.4へ 戦いの記録
kyoshidaxx
1
200
5min GuardDuty Extended Threat Detection EKS
takakuni
0
130
Observability в PHP без боли. Олег Мифле, тимлид Altenar
lamodatech
0
340
急成長を支える基盤作り〜地道な改善からコツコツと〜 #cre_meetup
stefafafan
0
120
Definition of Done
kawaguti
PRO
6
480
Featured
See All Featured
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Thoughts on Productivity
jonyablonski
69
4.7k
Bash Introduction
62gerente
614
210k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
181
53k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.7k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.4k
Measuring & Analyzing Core Web Vitals
bluesmoon
7
490
A Tale of Four Properties
chriscoyier
160
23k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
17
940
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
Site-Speed That Sticks
csswizardry
10
660
Transcript
VALET + WP-CLI + BASH ALONSO INDACOCHEA - @ALONSO_IN
LARAVEL VALET WHAT IS IT? ▸ Local dev environment for
Mac OS X ▸ Allows sharing by local tunnel ▸ No Vagrant, no Apache, no Nginx ▸ Leverages Caddy, DnsMasq, ngrok ▸ Good for machines with limited RAM
LARAVEL VALET REQUIREMENTS ▸ Homebrew ▸ PHP ▸ MySQL /
MariaDB ▸ Composer (for installation) ▸ More info: https://laravel.com/docs/5.2/valet
WP-CLI WHAT IS IT? ▸ Command line interface for WordPress
▸ Install core ▸ Install, activate, remove plugins ▸ Install, activate, remove themes ▸ Add and remove pages, posts, sidebars, widgets ▸ Edit wp-config.php ▸ More info: https://wp-cli.org
WPINSTALL WORDPRESS INSTALL CUSTOM BASH SCRIPT ▸ Creates local WordPress
installation ▸ Hardens core ▸ Creates Bitbucket repo (or lets you clone existing repo) ▸ Removes Hello Dolly & Akismet, installs dev plugins ▸ Removes sample posts, adds pages, posts, widgets ▸ Installs starter theme + npm, gulp, sass support ▸ Customizes WordPress dashboard ▸ Opens site on Chrome and functions.php in Atom
WPINSTALL REQUIREMENTS (AS IS) ▸ Sass ▸ Node, npm, gulp
▸ Bitbucket account ▸ Genesis framework ▸ git ▸ WordPress .gitignore ▸ Chrome ▸ Atom
DEMO!
GITHUB.COM/AINDACO1/WPINSTALL FIND MY SCRIPT AT