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
48
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
いつの間にか入れ替わってる!?新しいAWS Security Hubとは?
cmusudakeisuke
0
160
ソフトウェアQAがハードウェアの人になったの
mineo_matsuya
3
110
AWS CDKの仕組み / how-aws-cdk-works
gotok365
10
890
アクセスピークを制するオートスケール再設計: 障害を乗り越えKEDAで実現したリソース管理の最適化
myamashii
1
330
ClaudeCodeにキレない技術
gtnao
0
560
ビジネス職が分析も担う事業部制組織でのデータ活用の仕組みづくり / Enabling Data Analytics in Business-Led Divisional Organizations
zaimy
1
310
全部AI、全員Cursor、ドキュメント駆動開発 〜DevinやGeminiも添えて〜
rinchsan
2
2.2k
Lufthansa ®️ USA Contact Numbers: Complete 2025 Support Guide
lufthanahelpsupport
0
240
CDKTFについてざっくり理解する!!~CloudFormationからCDKTFへ変換するツールも作ってみた~
masakiokuda
1
200
クラウド開発の舞台裏とSRE文化の醸成 / SRE NEXT 2025 Lunch Session
kazeburo
1
450
Enhancing SaaS Product Reliability and Release Velocity through Optimized Testing Approach
ropqa
1
250
データ基盤からデータベースまで?広がるユースケースのDatabricksについて教えるよ!
akuwano
3
160
Featured
See All Featured
Become a Pro
speakerdeck
PRO
29
5.4k
What's in a price? How to price your products and services
michaelherold
246
12k
Documentation Writing (for coders)
carmenintech
72
4.9k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
48
2.9k
Side Projects
sachag
455
42k
Building a Modern Day E-commerce SEO Strategy
aleyda
42
7.4k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
281
13k
Site-Speed That Sticks
csswizardry
10
700
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Rails Girls Zürich Keynote
gr2m
95
14k
Java REST API Framework Comparison - PWX 2021
mraible
31
8.7k
GitHub's CSS Performance
jonrohan
1031
460k
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