wcoc17 wip
This commit is contained in:
parent
0289d0c1e0
commit
f2806789ef
wcoc17
chuttersnap-255216.jpgedwin-andrade-158050.jpghimesh-kumar-behera-216019.jpgmarco-djallo-127113.jpgmarkus-spiske-207946.jpgmartin-sanchez-zekedrone-250745.jpgmike-wilson-36140.jpgmodok_dev.jpgmodok_elasticpress.jpgpete-wright-105201.jpgraphael-koh-126192.jpgthe_minimal_dev-wcoc17.mdwesson-wang-110739.jpg
BIN
wcoc17/chuttersnap-255216.jpg
Normal file
BIN
wcoc17/chuttersnap-255216.jpg
Normal file
Binary file not shown.
After ![]() (image error) Size: 2.5 MiB |
BIN
wcoc17/edwin-andrade-158050.jpg
Normal file
BIN
wcoc17/edwin-andrade-158050.jpg
Normal file
Binary file not shown.
After ![]() (image error) Size: 9.4 MiB |
BIN
wcoc17/himesh-kumar-behera-216019.jpg
Normal file
BIN
wcoc17/himesh-kumar-behera-216019.jpg
Normal file
Binary file not shown.
After ![]() (image error) Size: 4.3 MiB |
BIN
wcoc17/marco-djallo-127113.jpg
Normal file
BIN
wcoc17/marco-djallo-127113.jpg
Normal file
Binary file not shown.
After ![]() (image error) Size: 739 KiB |
BIN
wcoc17/markus-spiske-207946.jpg
Normal file
BIN
wcoc17/markus-spiske-207946.jpg
Normal file
Binary file not shown.
After ![]() (image error) Size: 7.7 MiB |
BIN
wcoc17/martin-sanchez-zekedrone-250745.jpg
Normal file
BIN
wcoc17/martin-sanchez-zekedrone-250745.jpg
Normal file
Binary file not shown.
After ![]() (image error) Size: 1.4 MiB |
BIN
wcoc17/mike-wilson-36140.jpg
Normal file
BIN
wcoc17/mike-wilson-36140.jpg
Normal file
Binary file not shown.
After ![]() (image error) Size: 1.6 MiB |
BIN
wcoc17/modok_dev.jpg
Normal file
BIN
wcoc17/modok_dev.jpg
Normal file
Binary file not shown.
After ![]() (image error) Size: 364 KiB |
BIN
wcoc17/modok_elasticpress.jpg
Normal file
BIN
wcoc17/modok_elasticpress.jpg
Normal file
Binary file not shown.
After ![]() (image error) Size: 204 KiB |
BIN
wcoc17/pete-wright-105201.jpg
Normal file
BIN
wcoc17/pete-wright-105201.jpg
Normal file
Binary file not shown.
After ![]() (image error) Size: 1.8 MiB |
BIN
wcoc17/raphael-koh-126192.jpg
Normal file
BIN
wcoc17/raphael-koh-126192.jpg
Normal file
Binary file not shown.
After ![]() (image error) Size: 2.7 MiB |
166
wcoc17/the_minimal_dev-wcoc17.md
Normal file
166
wcoc17/the_minimal_dev-wcoc17.md
Normal file
@ -0,0 +1,166 @@
|
||||
footer: boogah.org/wcoc17
|
||||
|
||||
# [fit] The Minimal Dev
|
||||
|
||||
# WordCamp OC 2017
|
||||
|
||||
# @boogah
|
||||
|
||||
[.hide-footer]
|
||||
|
||||
---
|
||||
|
||||
# [fit] What is Valet?
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
# [fit] Why Valet?
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
# [fit] Why not Vagrant?
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
# [fit] Why not Docker?
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
# [fit] Why not X?
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
# [fit] Installing Valet
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
# [fit] Installing WP-CLI
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
# Install WP-CLI
|
||||
|
||||
```
|
||||
→ curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
|
||||
→ php wp-cli.phar --info
|
||||
→ chmod +x wp-cli.phar
|
||||
→ sudo mv wp-cli.phar /usr/local/bin/wp
|
||||
```
|
||||
|
||||
<sub>**From [wp-cli.org](https://wp-cli.org/)**</sub>
|
||||
|
||||
---
|
||||
|
||||
# Install WP-CLI Valet commands
|
||||
|
||||
```
|
||||
→ wp package install aaemnnosttv/wp-cli-valet-command
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
# [fit] Creating sites
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
# Create a site
|
||||
|
||||
``` [.highlight: 1]
|
||||
→ wp valet new modok --admin_user=modok --admin_password=advanced-idea-mechanics
|
||||
Don't go anywhere, this should only take a second...
|
||||
Success: modok ready! https://modok.dev
|
||||
```
|
||||
|
||||
---
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
# Destroy a site
|
||||
|
||||
``` [.highlight: 1]
|
||||
→ wp valet destroy modok --yes
|
||||
Success: modok was destroyed.
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
# [fit] Preserving workflows
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
# Supported workflows
|
||||
|
||||
* [Multisite](https://github.com/Objectivco/WordPressMultisiteSubdirectoryValetDriver)
|
||||
* [WordPlate](https://github.com/wordplate/valet)
|
||||
* [Skeleton](https://github.com/Baadier-Sydow/wordpress-skeleton-valet-driver)
|
||||
* [Bedrock](https://github.com/aaemnnosttv/bedrock-valet-driver)
|
||||
|
||||
---
|
||||
|
||||
# [fit] Showing off
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
# Showing off
|
||||
|
||||
``` [.highlight: 1,2,10]
|
||||
→ cd ~/sites/valet/modok
|
||||
→ valet share
|
||||
ngrok by @inconshreveable (Ctrl+C to quit)
|
||||
|
||||
Session Status online
|
||||
Version 2.2.4
|
||||
Region United States (us)
|
||||
Web Interface http://127.0.0.1:4040
|
||||
Forwarding http://bf40fa0e.ngrok.io -> modok.dev:443
|
||||
Forwarding https://bf40fa0e.ngrok.io -> modok.dev:443
|
||||
|
||||
Connections ttl opn rt1 rt5 p50 p90
|
||||
0 0 0.00 0.00 0.00 0.00
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
# [fit] Exploration
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
# Installing Elasticsearch
|
||||
|
||||
``` [.highlight: 1]
|
||||
→ brew install elasticsearch
|
||||
```
|
||||
|
||||
---
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
# [fit] Questions?
|
||||
|
||||

|
BIN
wcoc17/wesson-wang-110739.jpg
Normal file
BIN
wcoc17/wesson-wang-110739.jpg
Normal file
Binary file not shown.
After ![]() (image error) Size: 2.4 MiB |
Loading…
x
Reference in New Issue
Block a user