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
120
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
37
The New WordPress Paradigm: Sacramento
alonso_in
0
36
The New WordPress Paradigm
alonso_in
0
51
WordCamp 2016 review
alonso_in
0
63
From Bootcamp to WordPress Agency in 6 Months*
alonso_in
0
140
Other Decks in Technology
See All in Technology
Além do else! Categorizando Pokemóns com Pattern Matching no JavaScript
wmsbill
0
620
生産性向上チームの紹介
cybozuinsideout
PRO
1
870
レガシーをぶっ壊せ。AEONで始めるDevRelの話 / Qiita Night 2024-2-22
aeonpeople
3
1.3k
元インフラエンジニアに成る / Human Resources to Human Relations
bobtani
4
920
SIEMを用いて、セキュリティログ分析の可視化と分析を実現し、PDCAサイクルを回してみた
coconala_engineer
0
320
プロンプトエンジニアリングでがんばらない-Agentic Workflow へ-近藤憲児
kenjikondobai
2
720
エンジニアのキャリアをちょっと楽しくする3本の軸/Three Pillars to Make an Engineer's Career More Enjoyable
kwappa
0
2.7k
EMとして2023年度に頑張ったこと / What we did well in FY2023 as a EM
pauli
1
170
反実仮想機械学習とは何か
usaito
PRO
11
4.7k
リテール金融(キャッシュレス・ネット銀行・ネット証券)の競争環境と経済圏
8maki
0
1.2k
AWSに詳しくない人でも始められるコスト最適化ガイド
yuhta28
1
240
MapLibreとAmazon Location Service
dayjournal
1
160
Featured
See All Featured
Typedesign – Prime Four
hannesfritz
36
2.1k
Navigating Team Friction
lara
178
13k
Rebuilding a faster, lazier Slack
samanthasiow
73
8.2k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
226
51k
Web development in the modern age
philhawksworth
202
10k
RailsConf 2023
tenderlove
4
540
Infographics Made Easy
chrislema
238
18k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
116
18k
GitHub's CSS Performance
jonrohan
1025
450k
The MySQL Ecosystem @ GitHub 2015
samlambert
243
12k
Adopting Sorbet at Scale
ufuk
68
8.6k
Building Your Own Lightsaber
phodgson
99
5.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