Slide 1

Slide 1 text

DEPLOYMENTS from Dreaded to Delightful Ryan King @ryancanhelpyou

Slide 2

Slide 2 text

@ryancanhelpyou #WCNYC • Database transfers • Large files • Keeping everything in sync • Domains / URL structure • WP config settings • Different dev + production environments • FTP craziness Issues when deploying

Slide 3

Slide 3 text

@ryancanhelpyou #WCNYC PLAN DESIGN CODE TEST DEPLOY REPEAT. Web workflow

Slide 4

Slide 4 text

@ryancanhelpyou #WCNYC PLAN DESIGN CODE TEST DEPLOY REPEAT. Web workflow: Design options ...... 1. Prebuilt theme 2. Use framework 3. Starter theme

Slide 5

Slide 5 text

@ryancanhelpyou #WCNYC Historical Setup

Slide 6

Slide 6 text

@ryancanhelpyou #WCNYC Confession I was a cowboy coder.

Slide 7

Slide 7 text

@ryancanhelpyou #WCNYC Ideal Setup Develop Locally Version control Mirror on staging / production server(s)

Slide 8

Slide 8 text

@ryancanhelpyou #WCNYC Local Setup Text editor + Local server ?

Slide 9

Slide 9 text

@ryancanhelpyou #WCNYC My path LOCAL SETUP

Slide 10

Slide 10 text

@ryancanhelpyou #WCNYC My path: Local servers

Slide 11

Slide 11 text

@ryancanhelpyou #WCNYC My path: Local servers

Slide 12

Slide 12 text

@ryancanhelpyou #WCNYC My path: Local servers Both solutions are easy to setup + use. Both give you: But what if your server is configured differently ?

Slide 13

Slide 13 text

@ryancanhelpyou #WCNYC My path: Local servers

Slide 14

Slide 14 text

@ryancanhelpyou #WCNYC My path: Local tools build system viewing preprocessors version control

Slide 15

Slide 15 text

@ryancanhelpyou #WCNYC My path DEPLOYMENTS

Slide 16

Slide 16 text

@ryancanhelpyou #WCNYC 1. 2. 3. WordPress database ... settings ... content images, media theme files plugin files ... content pages posts comments What are we deploying?

Slide 17

Slide 17 text

@ryancanhelpyou #WCNYC My path: Deployments files database +

Slide 18

Slide 18 text

@ryancanhelpyou #WCNYC My path: Deployments WordPress plugins

Slide 19

Slide 19 text

@ryancanhelpyou #WCNYC My path: Deployments http://roots.io/

Slide 20

Slide 20 text

@ryancanhelpyou #WCNYC Roots Walkthrough • Forum: https://discourse.roots.io • WP/Docker/Roots: https://roots.io/podcast/ep3/ • Walkthrough article: http://davekiss.com/devel- op-wordpress-sites-like-a-goddamn-champion/ *** • Example project: https://roots.io/a-modern-word- press-example/ *** • Screencasts: https://roots.io/screencasts/ ** (pur- chase & watch)

Slide 21

Slide 21 text

@ryancanhelpyou #WCNYC Other tools

Slide 22

Slide 22 text

@ryancanhelpyou #WCNYC Next up...

Slide 23

Slide 23 text

? @ryancanhelpyou #WCNYC Thoughts

Slide 24

Slide 24 text

@ryancanhelpyou #WCNYC Resources • Developer Workflow Tools: http://www.smashingmagazine. com/2013/10/02/powerful-workflow-tips-tools-and-tricks-for-web-design- ers/ • Vagrant: http://torquemag.io/getting-started-vagrant-local-development/ • SASS: https://www.codeschool.com/courses/assembling-sass • Gulp: https://github.com/gulpjs/gulp/blob/master/docs/getting-started.md • Capistrano: http://theme.fm/2011/08/tutorial-deploying-word- press-with-capistrano-2082/ • Git + Capistrano: https://marketpress.com/2013/deploying-word- press-with-git-and-capistrano • Docker: http://goldsounds.com/archives/2015/04/06/ quick-and-easy-wordpress-development-using-docker/ • Roots: http://davekiss.com/develop-wordpress-sites-like-a-god- damn-champion/

Slide 25

Slide 25 text

@ryancanhelpyou #WCNYC Thank you

Slide 26

Slide 26 text

DEPLOYMENTS from Dreaded to Delightful Ryan King @ryancanhelpyou