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
44
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
運用しているアプリケーションのDBのリプレイスをやってみた
miura55
1
720
急成長する企業で作った、エンジニアが輝ける制度/ 20250214 Rinto Ikenoue
shift_evolve
3
1.3k
君も受託系GISエンジニアにならないか
sudataka
2
430
AndroidデバイスにFTPサーバを建立する
e10dokup
0
250
モノレポ開発のエラー、誰が見る?Datadog で実現する適切なトリアージとエスカレーション
biwashi
6
810
利用終了したドメイン名の最強終活〜観測環境を育てて、分析・供養している件〜 / The Ultimate End-of-Life Preparation for Discontinued Domain Names
nttcom
2
200
なぜ私は自分が使わないサービスを作るのか? / Why would I create a service that I would not use?
aiandrox
0
740
Amazon S3 Tablesと外部分析基盤連携について / Amazon S3 Tables and External Data Analytics Platform
nttcom
0
130
ハッキングの世界に迫る~攻撃者の思考で考えるセキュリティ~
nomizone
13
5.2k
Swiftの “private” を テストする / Testing Swift "private"
yutailang0119
0
130
30分でわかる『アジャイルデータモデリング』
hanon52_
9
2.7k
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
6
57k
Featured
See All Featured
Bootstrapping a Software Product
garrettdimon
PRO
306
110k
Why You Should Never Use an ORM
jnunemaker
PRO
55
9.2k
Scaling GitHub
holman
459
140k
The Language of Interfaces
destraynor
156
24k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
The World Runs on Bad Software
bkeepers
PRO
67
11k
Fireside Chat
paigeccino
34
3.2k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.3k
The Cost Of JavaScript in 2023
addyosmani
47
7.3k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Rebuilding a faster, lazier Slack
samanthasiow
80
8.8k
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