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
1
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
42
The New WordPress Paradigm: Sacramento
alonso_in
0
37
The New WordPress Paradigm
alonso_in
0
56
WordCamp 2016 review
alonso_in
0
68
From Bootcamp to WordPress Agency in 6 Months*
alonso_in
0
140
Other Decks in Technology
See All in Technology
開発生産性向上! 育成を「改善」と捉えるエンジニア育成戦略
shoota
2
470
レンジャーシステムズ | 会社紹介(採用ピッチ)
rssytems
0
290
Microsoft Azure全冠になってみた ~アレを使い倒した者が試験を制す!?~/Obtained all Microsoft Azure certifications Those who use "that" to the full will win the exam! ?
yuj1osm
2
120
多様なメトリックとシステムの健全性維持
masaaki_k
0
120
5分でわかるDuckDB
chanyou0311
10
3.3k
watsonx.ai Dojo #5 ファインチューニングとInstructLAB
oniak3ibm
PRO
0
200
【re:Invent 2024 アプデ】 Prompt Routing の紹介
champ
0
160
怖くない!ゼロから始めるPHPソースコードコンパイル入門
colopl
0
180
Zero Data Loss Autonomous Recovery Service サービス概要
oracle4engineer
PRO
1
4.8k
NW-JAWS #14 re:Invent 2024(予選落ち含)で 発表された推しアップデートについて
nagisa53
0
280
成果を出しながら成長する、アウトプット駆動のキャッチアップ術 / Output-driven catch-up techniques to grow while producing results
aiandrox
0
390
TSKaigi 2024 の登壇から広がったコミュニティ活動について
tsukuha
0
170
Featured
See All Featured
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
111
49k
The World Runs on Bad Software
bkeepers
PRO
66
11k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
Into the Great Unknown - MozCon
thekraken
34
1.5k
The Cult of Friendly URLs
andyhume
78
6.1k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
Designing on Purpose - Digital PM Summit 2013
jponch
116
7k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Site-Speed That Sticks
csswizardry
2
190
Reflections from 52 weeks, 52 projects
jeffersonlam
347
20k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
3
170
Raft: Consensus for Rubyists
vanstee
137
6.7k
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