SlideShare une entreprise Scribd logo
1  sur  43
Télécharger pour lire hors ligne
30 Minutes
To Build a WordPress Site
What's About To Happen?
Live, Unscripted Code
Provided the wifi holds up...

Are you
INSANE???
Oh, yes...
The Intent of This Presentation

How One Could Construct and Deploy a WordPress Site in 30
Minutes
Provide Thoughts for Research, Not Detailed Instructions
Generally: Pragmatic ideas for stepping up your game
Who Are We?
Owen Winkler

owen@criticalhit.us

You!
WordPress Enthusiasts
Graphic/Web Designers
WordPress Implementers
What Do We Need To Begin?
Discovered Requirements
Graphic Assets
Service Credentials
DNS
VPS Hosting
Our Wits
Requirements Gathering
Requirements Mad Libs
Color
Person's Name
Number (1-100)
Animal
Fruit
Requirements
Produce a site to inform the public about
nutrition bars for their hungry production
facilities.
Each bar will cost a mere $ and will provide a
testimonial.
Someone is very fond of the color .
Someone's Whut Bars
Server Setup
VPS/Cloud Hosting
My Recommended Providers:
Rackspace Digital Ocean -
VPS/Cloud Hosting Installation
Steps

1. Choose and configure
2. Record the IP address used for the server:
3. Download and execute the

w e - - - ht :/ sm u /p np uu t1 0 _n p| bs
gt q O
tp / ay .s si u _b nu 24 lm
ah
DNS

Local DNS
Staging DNS
Production DNS
Local DNS
Windows 8 Linux & OSX -

Domain to use: wp.claire
Production DNS

GoDaddy - Stop using this!
Namecheap Domain to use: wp.owenw.com
IP Address:
Host Config

Does have LNMP spun up?
Create a directory to house the site.
m dr - /a /w /p oe w cm hd c
k i p vr ww w .w n. o/ t os
c /a / w/ po ew cm h dc
d v rw ww .w n .o /t os
Speed Test

< DC YE hm >
! OT P t l
< tl
h m>
< ed
h a>
<i l> mI Fs ? /i l>
tt e A
a t< tt e
<t l tp =t x/ s" . at { cl r g e n } . lw {c lr r d fn -e gt
sy e ye "e t cs > fs
oo : re ;
so
oo : e ; ot w ih :
< ha >
/ ed
< oy
b d>
< 1A lo t ee so l b ge n< h>
h >l f h s h ud e re : /1

< pp fn to t s( vl { eh $ a ?' sa c as "a t ># 21 ;/ pn ' :' sa c a
? h u ci n e t $a )
c o vl
< p n l s =f s" &x 73 < sa >
<pn l
<l
d>
<t Ui gN IX < d>
d> s n GN :/ t
<d <p pt s( r gm th 'n i x' $S R E[ SR E_ O TA E] ) ?< d>
d> ? h et pe _a c (# gn #, _ EV R' E VR SF WR ') ; >/ d
<t Ui gP Pa F sC I <d >
d> s n H s at G: /t
<d <p pt s( r gm th 'f g #, pp sp _a e )) ? <d >
d> ? h et pe _a c (# ci ' h_ a in m( ); > /d
<t Ui gP PF M <d >
d> s n H- P: /t
<d <p pt s( r gm th 'f m ' p ps p _a e) ) ?< d>
d> ? h et pe _a c (# p# , h_ ai nm ( ); > /d
<t Ea ld AC < d>
d> n be P :/ t
<d <p pt s( u ci ne it ( ac cc ei f' & @ p_ ah _n o 'p oe );
d> ? h et fn to _ xs s' p_ ah _ no ) & a c cc ei f( oc d ')
<t Ea ld MS L Qa h: /t
d> n be y Q Cc e <d >
<d <p p
d> ? h
$ on =n wm sl ( lc lo t, ' ot ,' )
cn
e yq i' oa h s' r o' ' ;
$ r = $ on >u r( so v ra l sl k ' u r_ ah _i e ";
qy
c n- qe y "h w ai be i e qe yc c es z' )
ts (n vl $r - ft ho jc ( -V le > 0;
et i ta (q y> ec _ be t) >a u)
)
?< d>
>/ d
< bd >
/ oy
< hm >
/ tl
Where's the WordPress in this
WordPress presentation?
Configure the Local WordPress
Environment
1.
2.
3.
4.
5.

Setup local DNS
Setup local web root
Setup local database
Setup version control with a copy of WordPress
Set up a simple theme
Local Web Root & Database
Local Web Root will be different for everyone

m dr - // ap /t os v rw .l ie
k i p cx mp h dc /d /p c ar
c // a p/ to sv rw . li e
d c xm ph dc / d/ pc ar

Database is generally the same for everyone
m sl -r o
y q u ot
c et d tb s w ;
r ae a aa e p
Setup Version Control

1.
2.
3.
4.

Using git and GitHub!
on GitHub for your site named "wp"
and extract WordPress to your local environment
Initialize the repo with the WordPress files
Push the files from your local environment to the newly
created repo at GitHub
c r h t :/ od rs .r / ae tt rg | tr xz
u l tp /w rp e so gl ts . a. z
a v
m wr p es hd c; c hd c
v o dr s to s d t os
g ti i
i nt
g ta d.
i d
g tc mi - "d e Wr P es t sa t
i o m t m A dd o dr s o tr "
g tr mt a do ii g tg tu . o: ig at rw . i
i e o e d r g n i @ ih bc mr nm s e/ pg t
g tp s - o ii m se
i u h u rg n at r
Set up a Simple Theme
Let's build a child theme of twentytwelve!

/
*
T ee Nm :
hm ae
S m oe sW u Br
oe n' ht a s
T ee UI
hm R:
h t :/ ea tc m
tp /r d l. o/
D sr pi n
e ci t o:
A t ee fr te S mo es Wu B r st ,b it a ac id o te t te v
h m o h o en ' h t a s ie ul s
hl f w ny wl
A to :
u hr
O e Wn l r
wn i ke
A to U I
u hr R :
h t :/ wn cm
tp /o e .o /
T ml t:
e pa e
t e tt ev
wn yw l e
V ri n
e so :
10
.
*
/
@ mo tu l" .t e tt ev /t l .s ";
i pr r( ./ wn yw l es ye cs )

If not, then maybe use

...
Customization
Static Home Page

Our product site is not primarily a blog
Settings » Reading » Front page displays
Main Menu

Menus are easy and effective
Create pages as targets
Create a menu
Add the pages to the menu
Color Accent

Don't forget that Someone really likes the color .
h m b d .u tm bc go n {
t l oy cs o- a kr ud
bc go n- oo : #0 48
ak r ud cl r 04 8 ;
}
h ,h a .i eh a e h a {
1 1 , s t- ed r 1
cl r #0 48
oo : 04 8;
}

Appearance » Background can set the background color, but...
What's this "Word Press" thing?
Let's remove the WordPress credit from the footer.
Copy the existing footer.php from twentytwelve into our custom
wp theme.
Kill Comments

We don't want comments on our modern product blog
Override the comments.php template with a blank file!
Custom Product Type

Let's create a

listing

to use in a sidebar product

a da to (' nt , 'r ae po u tt p' )
d _c i n ii ' ce t _r dc _y e ;
f nt o ce t_ rd c_ y e) {
u ci n ra ep o ut tp (
rg se _o tt p (' pp ou t ,
ei t rp s_ ye w _ rd c'
ar y
ra (
'a es = ar y
lb l ' > r a(
'a e = _ (' r dc s )
nm ' > _ Po ut ' ,
'i gl rn m' = _( ' rd c' )
sn u a_ ae > _ P ou t
)
,
'u lc = tu ,
pb i ' > r e
'a _r hv '= f le
hs a ci e > as ,
'e rt '= a ry 'l g = 'r dc s)
rw i e > r a (s u' > p ou t' ,
)
)
;
}
Things to Know

This can go in functions.php or a new plugin
The custom type can have its own template:
single-{typename}.php
Product Widget

Let's

to automatically list items from our
custom product post type

c as Po ut _i g te tn sW _ ig t{
l s r dc sW de x e d PW de
fn to _ cn tu t) {
uc i n _ os r c(
pr n: _c nt u t
ae t :_ os rc (
'r dc sW de '
Po u t_ ig t,
'r dc sW de '
Po u t ig t,
ar y 'e ci to '= ' ip a sa ls ig o Po ut ' )
ra ( ds rp i n > Ds ly
it n f r dc s,
)
;
}
pb i fn to w de ($ rs $ nt ne ) {
ul c uc in i gt ag , is ac
$r s= ar y 'o tt p '= ' pp ou t, 'o t _e _a e = 1 )
ag
r a( p s_ ye > w _r dc ' p ss pr p g' > 0 ;
$o p= nw W_ u r( $r s)
lo
e P Qe y a g ;
eh '
co

Our Products
'
;

wi e( $o p> a ep ss )) : $o p> h_ ot )
hl
l o- hv _o t (
lo -t e ps (;
te tt e)
h_ i l( ;
eh '
co
'
;
te cn et )
h_ o tn (;
eh '
co
'
;
ed hl ;
nw i e
eh '
co
'
;
Why not use plugins?
Two answers:

1. Go ahead!
2. More plugins equals more weight, maintenance, and
deployment complication.
Deployment
Deploy Files
Step 1 - Prepare

Make sure everything necessary is in git and pushed to github:
g ts au
i tts
g tc mi - m" pa ee e yh n.
i o m t a U d t vr ti g "
g tp s oi i m s e
i u h rg n at r

The wp-config.php file?
Deploy Files

Step 2 - "Upload"
Instead of using SFTP to upload files,
we'll use git to download them directly to the server
c /a / w/ po ew cm
d v rw ww .w n .o
g tc oe ht s/ g tu .o /i g at rw .i h dc
i l n t p: /i hb c mr nm se /p g t t o s
Deploy Database
Step 1 - Prepare

Database transfer is complicated... Let's use the
plugin.
c // a p/ to sv rw . li eh dc /p c ne tu la s
d c xm ph dc / d/ pc ar / to sw -o tn / po d
s pw -i rt -. . q r o @p oe wc m/ a /w /p
c p m ga e. .s l ot w. w n. o: vr ww w
Deploy Database
Step 2 - Restore

This process overwrites all of the database data on the server
m sl -r o w < w -i rt -. . q
y q u ot p
p mg a e. .s l
The Nuts
Missed Some WordPress
Things
Backup
Users
SEO
Plugins and must-use plugins
Missed Some Configuration
Things
wp-config.php on dev/staging/local
Caching Reverse-Proxy? Varnish?
Wait, where's the .htaccess?
Missed Some Deployment
Things
Automated deployment. See: capistrano
How are updates to code/core handled?
How are updates from production handled?
How are user uploads handled?
What happens when something goes wrong?
Missed Some Security Things
What's with all the "root" access?
MySQL users don't have passwords?
Where are your firewall rules?
The End

Contenu connexe

Tendances

Theme Development and Customization
Theme Development and CustomizationTheme Development and Customization
Theme Development and CustomizationAniket Pant
 
DevLOVE ターミナル勉強会 zsh + screen
DevLOVE ターミナル勉強会 zsh + screenDevLOVE ターミナル勉強会 zsh + screen
DevLOVE ターミナル勉強会 zsh + screenYozo SATO
 
Social Network Analysis With R
Social Network Analysis With RSocial Network Analysis With R
Social Network Analysis With RDavid Chiu
 
Help mijn website is gehackt - Joomla User Group Den Bosch 2014
Help mijn website is gehackt - Joomla User Group Den Bosch 2014Help mijn website is gehackt - Joomla User Group Den Bosch 2014
Help mijn website is gehackt - Joomla User Group Den Bosch 2014Peter Martin
 
PyLadies Talk: Learn to love the command line!
PyLadies Talk: Learn to love the command line!PyLadies Talk: Learn to love the command line!
PyLadies Talk: Learn to love the command line!Blanca Mancilla
 
WindowsユーザのためのはじめてのPerlプログラミング
WindowsユーザのためのはじめてのPerlプログラミングWindowsユーザのためのはじめてのPerlプログラミング
WindowsユーザのためのはじめてのPerlプログラミングYosuke HASEGAWA
 
직장인을 위한 GTD 시작하기 (How To Start GTD)
직장인을 위한 GTD 시작하기 (How To Start GTD)직장인을 위한 GTD 시작하기 (How To Start GTD)
직장인을 위한 GTD 시작하기 (How To Start GTD)Jinho Jung
 
LAMP_TRAINING_SESSION_1
LAMP_TRAINING_SESSION_1LAMP_TRAINING_SESSION_1
LAMP_TRAINING_SESSION_1umapst
 
Andrey Listochkin "Everybody stand back! I know regular expressions"
Andrey Listochkin "Everybody stand back! I know regular expressions"Andrey Listochkin "Everybody stand back! I know regular expressions"
Andrey Listochkin "Everybody stand back! I know regular expressions"Fwdays
 
Amazon ECS를 통한 Docker 콘테이너의 지속적 배포(CD) 방법
Amazon ECS를 통한 Docker 콘테이너의 지속적 배포(CD) 방법Amazon ECS를 통한 Docker 콘테이너의 지속적 배포(CD) 방법
Amazon ECS를 통한 Docker 콘테이너의 지속적 배포(CD) 방법Amazon Web Services Korea
 
Create Custom Post Type Plugin
Create Custom Post Type PluginCreate Custom Post Type Plugin
Create Custom Post Type PluginJan Wilson
 
Python Developer's Daily Routine
Python Developer's Daily RoutinePython Developer's Daily Routine
Python Developer's Daily RoutineMaxim Avanov
 

Tendances (18)

Theme Development and Customization
Theme Development and CustomizationTheme Development and Customization
Theme Development and Customization
 
DevLOVE ターミナル勉強会 zsh + screen
DevLOVE ターミナル勉強会 zsh + screenDevLOVE ターミナル勉強会 zsh + screen
DevLOVE ターミナル勉強会 zsh + screen
 
Código música
Código músicaCódigo música
Código música
 
Social Network Analysis With R
Social Network Analysis With RSocial Network Analysis With R
Social Network Analysis With R
 
Help mijn website is gehackt - Joomla User Group Den Bosch 2014
Help mijn website is gehackt - Joomla User Group Den Bosch 2014Help mijn website is gehackt - Joomla User Group Den Bosch 2014
Help mijn website is gehackt - Joomla User Group Den Bosch 2014
 
Malcon2017
Malcon2017Malcon2017
Malcon2017
 
PyLadies Talk: Learn to love the command line!
PyLadies Talk: Learn to love the command line!PyLadies Talk: Learn to love the command line!
PyLadies Talk: Learn to love the command line!
 
WindowsユーザのためのはじめてのPerlプログラミング
WindowsユーザのためのはじめてのPerlプログラミングWindowsユーザのためのはじめてのPerlプログラミング
WindowsユーザのためのはじめてのPerlプログラミング
 
직장인을 위한 GTD 시작하기 (How To Start GTD)
직장인을 위한 GTD 시작하기 (How To Start GTD)직장인을 위한 GTD 시작하기 (How To Start GTD)
직장인을 위한 GTD 시작하기 (How To Start GTD)
 
Fast api
Fast apiFast api
Fast api
 
LAMP_TRAINING_SESSION_1
LAMP_TRAINING_SESSION_1LAMP_TRAINING_SESSION_1
LAMP_TRAINING_SESSION_1
 
wreewrer
wreewrerwreewrer
wreewrer
 
Andrey Listochkin "Everybody stand back! I know regular expressions"
Andrey Listochkin "Everybody stand back! I know regular expressions"Andrey Listochkin "Everybody stand back! I know regular expressions"
Andrey Listochkin "Everybody stand back! I know regular expressions"
 
Yg byev2e
Yg byev2eYg byev2e
Yg byev2e
 
Cooking with Chef
Cooking with ChefCooking with Chef
Cooking with Chef
 
Amazon ECS를 통한 Docker 콘테이너의 지속적 배포(CD) 방법
Amazon ECS를 통한 Docker 콘테이너의 지속적 배포(CD) 방법Amazon ECS를 통한 Docker 콘테이너의 지속적 배포(CD) 방법
Amazon ECS를 통한 Docker 콘테이너의 지속적 배포(CD) 방법
 
Create Custom Post Type Plugin
Create Custom Post Type PluginCreate Custom Post Type Plugin
Create Custom Post Type Plugin
 
Python Developer's Daily Routine
Python Developer's Daily RoutinePython Developer's Daily Routine
Python Developer's Daily Routine
 

En vedette

Step by step Guide on How to use Canva
Step by step Guide on How to use CanvaStep by step Guide on How to use Canva
Step by step Guide on How to use Canvamces rasos
 
The New Kids On The Block "Step By Step" Guide To The WordPress Admin
The New Kids On The Block "Step By Step" Guide To The WordPress AdminThe New Kids On The Block "Step By Step" Guide To The WordPress Admin
The New Kids On The Block "Step By Step" Guide To The WordPress AdminAmelia Smith
 
DO-IT-YOURSELF GRAPHIC DESIGN: A GUIDE TO FREE TOOLS FOR THE MARKETER [INBOUN...
DO-IT-YOURSELF GRAPHIC DESIGN: A GUIDE TO FREE TOOLS FOR THE MARKETER [INBOUN...DO-IT-YOURSELF GRAPHIC DESIGN: A GUIDE TO FREE TOOLS FOR THE MARKETER [INBOUN...
DO-IT-YOURSELF GRAPHIC DESIGN: A GUIDE TO FREE TOOLS FOR THE MARKETER [INBOUN...HubSpot
 
Buildablog
BuildablogBuildablog
Buildablogsolomonc
 
Introduction to Graphic Design: Typography & Color for Business Cards
Introduction to Graphic Design:  Typography & Color for Business CardsIntroduction to Graphic Design:  Typography & Color for Business Cards
Introduction to Graphic Design: Typography & Color for Business Cardsklimczaksusan
 
Learning Keynote for High School Graphic Design
Learning Keynote for High School Graphic Design Learning Keynote for High School Graphic Design
Learning Keynote for High School Graphic Design Chrissy Harmon
 
Step by step Guide on How to use Dropbox
Step by step Guide on How to use DropboxStep by step Guide on How to use Dropbox
Step by step Guide on How to use Dropboxmces rasos
 
Riann salandanan howtouse_canva
Riann salandanan howtouse_canvaRiann salandanan howtouse_canva
Riann salandanan howtouse_canvaRiann Salandanan
 
Basic concept of Graphic Design
Basic concept of Graphic DesignBasic concept of Graphic Design
Basic concept of Graphic DesignAshikul Islam
 
Purpose of graphic design nyc
Purpose of graphic design nycPurpose of graphic design nyc
Purpose of graphic design nyc347design
 

En vedette (14)

Step by step Guide on How to use Canva
Step by step Guide on How to use CanvaStep by step Guide on How to use Canva
Step by step Guide on How to use Canva
 
The New Kids On The Block "Step By Step" Guide To The WordPress Admin
The New Kids On The Block "Step By Step" Guide To The WordPress AdminThe New Kids On The Block "Step By Step" Guide To The WordPress Admin
The New Kids On The Block "Step By Step" Guide To The WordPress Admin
 
DO-IT-YOURSELF GRAPHIC DESIGN: A GUIDE TO FREE TOOLS FOR THE MARKETER [INBOUN...
DO-IT-YOURSELF GRAPHIC DESIGN: A GUIDE TO FREE TOOLS FOR THE MARKETER [INBOUN...DO-IT-YOURSELF GRAPHIC DESIGN: A GUIDE TO FREE TOOLS FOR THE MARKETER [INBOUN...
DO-IT-YOURSELF GRAPHIC DESIGN: A GUIDE TO FREE TOOLS FOR THE MARKETER [INBOUN...
 
Buildablog
BuildablogBuildablog
Buildablog
 
Graphic Design
Graphic DesignGraphic Design
Graphic Design
 
Introduction to Graphic Design: Typography & Color for Business Cards
Introduction to Graphic Design:  Typography & Color for Business CardsIntroduction to Graphic Design:  Typography & Color for Business Cards
Introduction to Graphic Design: Typography & Color for Business Cards
 
Wordpress Guide
Wordpress GuideWordpress Guide
Wordpress Guide
 
Learning Keynote for High School Graphic Design
Learning Keynote for High School Graphic Design Learning Keynote for High School Graphic Design
Learning Keynote for High School Graphic Design
 
Step by step Guide on How to use Dropbox
Step by step Guide on How to use DropboxStep by step Guide on How to use Dropbox
Step by step Guide on How to use Dropbox
 
Word press training
Word press trainingWord press training
Word press training
 
Graphic design
Graphic designGraphic design
Graphic design
 
Riann salandanan howtouse_canva
Riann salandanan howtouse_canvaRiann salandanan howtouse_canva
Riann salandanan howtouse_canva
 
Basic concept of Graphic Design
Basic concept of Graphic DesignBasic concept of Graphic Design
Basic concept of Graphic Design
 
Purpose of graphic design nyc
Purpose of graphic design nycPurpose of graphic design nyc
Purpose of graphic design nyc
 

Similaire à WordPress in 30 minutes

Spring Roo 2.0 Preview at Spring I/O 2016
Spring Roo 2.0 Preview at Spring I/O 2016 Spring Roo 2.0 Preview at Spring I/O 2016
Spring Roo 2.0 Preview at Spring I/O 2016 DISID
 
Helping Data Teams with Puppet / Puppet Camp London - Apr 13, 2015
Helping Data Teams with Puppet / Puppet Camp London - Apr 13, 2015Helping Data Teams with Puppet / Puppet Camp London - Apr 13, 2015
Helping Data Teams with Puppet / Puppet Camp London - Apr 13, 2015Sergii Khomenko
 
Puppet Camp London 2015 - Helping Data Teams with Puppet
Puppet Camp London 2015 - Helping Data Teams with PuppetPuppet Camp London 2015 - Helping Data Teams with Puppet
Puppet Camp London 2015 - Helping Data Teams with PuppetPuppet
 
Accessible Web Components_Techshare India 2014
Accessible Web Components_Techshare India 2014Accessible Web Components_Techshare India 2014
Accessible Web Components_Techshare India 2014BarrierBreak
 
Faster! Faster! Accelerate your business with blazing prototypes
Faster! Faster! Accelerate your business with blazing prototypesFaster! Faster! Accelerate your business with blazing prototypes
Faster! Faster! Accelerate your business with blazing prototypesOSCON Byrum
 
Continuous delivery with Gradle
Continuous delivery with GradleContinuous delivery with Gradle
Continuous delivery with GradleBob Paulin
 
Marko Gargenta_Remixing android
Marko Gargenta_Remixing androidMarko Gargenta_Remixing android
Marko Gargenta_Remixing androidDroidcon Berlin
 
톰캣 #05+a-배치-parallel deployment
톰캣 #05+a-배치-parallel deployment톰캣 #05+a-배치-parallel deployment
톰캣 #05+a-배치-parallel deploymentGyuSeok Lee
 
PyData Paris 2015 - Track 3.2 Serge Guelton et Pierrick Brunet
PyData Paris 2015 - Track 3.2 Serge Guelton et Pierrick Brunet PyData Paris 2015 - Track 3.2 Serge Guelton et Pierrick Brunet
PyData Paris 2015 - Track 3.2 Serge Guelton et Pierrick Brunet Pôle Systematic Paris-Region
 
Serverless WordPress & next Interface of WordPress
Serverless WordPress & next Interface of WordPressServerless WordPress & next Interface of WordPress
Serverless WordPress & next Interface of WordPressHidetaka Okamoto
 
Meteor - not just for rockstars
Meteor - not just for rockstarsMeteor - not just for rockstars
Meteor - not just for rockstarsStephan Hochhaus
 
Testing TYPO3 Applications
Testing TYPO3 ApplicationsTesting TYPO3 Applications
Testing TYPO3 ApplicationsAndré Wuttig
 
An Introduction to CSS Preprocessors
An Introduction to CSS PreprocessorsAn Introduction to CSS Preprocessors
An Introduction to CSS PreprocessorsMiloš Sutanovac
 
Why Perl, when you can use bash+awk+sed? :P
Why Perl, when you can use bash+awk+sed? :PWhy Perl, when you can use bash+awk+sed? :P
Why Perl, when you can use bash+awk+sed? :PLuciano Rocha
 
PostgreSQL Day italy 2016 Unit Test
PostgreSQL Day italy 2016 Unit TestPostgreSQL Day italy 2016 Unit Test
PostgreSQL Day italy 2016 Unit TestAndrea Adami
 
Flow of events during Media Player creation in Android
Flow of events during Media Player creation in AndroidFlow of events during Media Player creation in Android
Flow of events during Media Player creation in AndroidSomenath Mukhopadhyay
 
R57php 1231677414471772-2
R57php 1231677414471772-2R57php 1231677414471772-2
R57php 1231677414471772-2ady36
 
Spring scala - Sneaking Scala into your corporation
Spring scala  - Sneaking Scala into your corporationSpring scala  - Sneaking Scala into your corporation
Spring scala - Sneaking Scala into your corporationHenryk Konsek
 

Similaire à WordPress in 30 minutes (20)

Spring Roo 2.0 Preview at Spring I/O 2016
Spring Roo 2.0 Preview at Spring I/O 2016 Spring Roo 2.0 Preview at Spring I/O 2016
Spring Roo 2.0 Preview at Spring I/O 2016
 
Helping Data Teams with Puppet / Puppet Camp London - Apr 13, 2015
Helping Data Teams with Puppet / Puppet Camp London - Apr 13, 2015Helping Data Teams with Puppet / Puppet Camp London - Apr 13, 2015
Helping Data Teams with Puppet / Puppet Camp London - Apr 13, 2015
 
Puppet Camp London 2015 - Helping Data Teams with Puppet
Puppet Camp London 2015 - Helping Data Teams with PuppetPuppet Camp London 2015 - Helping Data Teams with Puppet
Puppet Camp London 2015 - Helping Data Teams with Puppet
 
Accessible Web Components_Techshare India 2014
Accessible Web Components_Techshare India 2014Accessible Web Components_Techshare India 2014
Accessible Web Components_Techshare India 2014
 
Faster! Faster! Accelerate your business with blazing prototypes
Faster! Faster! Accelerate your business with blazing prototypesFaster! Faster! Accelerate your business with blazing prototypes
Faster! Faster! Accelerate your business with blazing prototypes
 
Continuous delivery with Gradle
Continuous delivery with GradleContinuous delivery with Gradle
Continuous delivery with Gradle
 
Marko Gargenta_Remixing android
Marko Gargenta_Remixing androidMarko Gargenta_Remixing android
Marko Gargenta_Remixing android
 
Meteor WWNRW Intro
Meteor WWNRW IntroMeteor WWNRW Intro
Meteor WWNRW Intro
 
톰캣 #05+a-배치-parallel deployment
톰캣 #05+a-배치-parallel deployment톰캣 #05+a-배치-parallel deployment
톰캣 #05+a-배치-parallel deployment
 
PyData Paris 2015 - Track 3.2 Serge Guelton et Pierrick Brunet
PyData Paris 2015 - Track 3.2 Serge Guelton et Pierrick Brunet PyData Paris 2015 - Track 3.2 Serge Guelton et Pierrick Brunet
PyData Paris 2015 - Track 3.2 Serge Guelton et Pierrick Brunet
 
Serverless WordPress & next Interface of WordPress
Serverless WordPress & next Interface of WordPressServerless WordPress & next Interface of WordPress
Serverless WordPress & next Interface of WordPress
 
Meteor - not just for rockstars
Meteor - not just for rockstarsMeteor - not just for rockstars
Meteor - not just for rockstars
 
Testing TYPO3 Applications
Testing TYPO3 ApplicationsTesting TYPO3 Applications
Testing TYPO3 Applications
 
An Introduction to CSS Preprocessors
An Introduction to CSS PreprocessorsAn Introduction to CSS Preprocessors
An Introduction to CSS Preprocessors
 
Why Perl, when you can use bash+awk+sed? :P
Why Perl, when you can use bash+awk+sed? :PWhy Perl, when you can use bash+awk+sed? :P
Why Perl, when you can use bash+awk+sed? :P
 
PostgreSQL Day italy 2016 Unit Test
PostgreSQL Day italy 2016 Unit TestPostgreSQL Day italy 2016 Unit Test
PostgreSQL Day italy 2016 Unit Test
 
Flow of events during Media Player creation in Android
Flow of events during Media Player creation in AndroidFlow of events during Media Player creation in Android
Flow of events during Media Player creation in Android
 
Php
PhpPhp
Php
 
R57php 1231677414471772-2
R57php 1231677414471772-2R57php 1231677414471772-2
R57php 1231677414471772-2
 
Spring scala - Sneaking Scala into your corporation
Spring scala  - Sneaking Scala into your corporationSpring scala  - Sneaking Scala into your corporation
Spring scala - Sneaking Scala into your corporation
 

Plus de Owen Winkler

Localhosting WordPress
Localhosting WordPressLocalhosting WordPress
Localhosting WordPressOwen Winkler
 
Source control management
Source control managementSource control management
Source control managementOwen Winkler
 
WordCamp Philly 2011 - put your business on the web
WordCamp Philly 2011 - put your business on the webWordCamp Philly 2011 - put your business on the web
WordCamp Philly 2011 - put your business on the webOwen Winkler
 
Be one of us: The WordPress Community
Be one of us: The WordPress CommunityBe one of us: The WordPress Community
Be one of us: The WordPress CommunityOwen Winkler
 
The Business Of Open Source
The Business Of Open SourceThe Business Of Open Source
The Business Of Open SourceOwen Winkler
 
Drupal security best practices
Drupal security best practicesDrupal security best practices
Drupal security best practicesOwen Winkler
 
Deployment And Change Management
Deployment And Change ManagementDeployment And Change Management
Deployment And Change ManagementOwen Winkler
 

Plus de Owen Winkler (8)

Localhosting WordPress
Localhosting WordPressLocalhosting WordPress
Localhosting WordPress
 
Habari vs
Habari vsHabari vs
Habari vs
 
Source control management
Source control managementSource control management
Source control management
 
WordCamp Philly 2011 - put your business on the web
WordCamp Philly 2011 - put your business on the webWordCamp Philly 2011 - put your business on the web
WordCamp Philly 2011 - put your business on the web
 
Be one of us: The WordPress Community
Be one of us: The WordPress CommunityBe one of us: The WordPress Community
Be one of us: The WordPress Community
 
The Business Of Open Source
The Business Of Open SourceThe Business Of Open Source
The Business Of Open Source
 
Drupal security best practices
Drupal security best practicesDrupal security best practices
Drupal security best practices
 
Deployment And Change Management
Deployment And Change ManagementDeployment And Change Management
Deployment And Change Management
 

Dernier

Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 

Dernier (20)

Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 

WordPress in 30 minutes

  • 1. 30 Minutes To Build a WordPress Site
  • 2. What's About To Happen? Live, Unscripted Code Provided the wifi holds up... Are you INSANE??? Oh, yes...
  • 3. The Intent of This Presentation How One Could Construct and Deploy a WordPress Site in 30 Minutes Provide Thoughts for Research, Not Detailed Instructions Generally: Pragmatic ideas for stepping up your game
  • 4. Who Are We? Owen Winkler owen@criticalhit.us You! WordPress Enthusiasts Graphic/Web Designers WordPress Implementers
  • 5. What Do We Need To Begin? Discovered Requirements Graphic Assets Service Credentials DNS VPS Hosting Our Wits
  • 7. Requirements Mad Libs Color Person's Name Number (1-100) Animal Fruit
  • 8. Requirements Produce a site to inform the public about nutrition bars for their hungry production facilities. Each bar will cost a mere $ and will provide a testimonial. Someone is very fond of the color .
  • 11. VPS/Cloud Hosting My Recommended Providers: Rackspace Digital Ocean -
  • 12. VPS/Cloud Hosting Installation Steps 1. Choose and configure 2. Record the IP address used for the server: 3. Download and execute the w e - - - ht :/ sm u /p np uu t1 0 _n p| bs gt q O tp / ay .s si u _b nu 24 lm ah
  • 14. Local DNS Windows 8 Linux & OSX - Domain to use: wp.claire
  • 15. Production DNS GoDaddy - Stop using this! Namecheap Domain to use: wp.owenw.com IP Address:
  • 16. Host Config Does have LNMP spun up? Create a directory to house the site. m dr - /a /w /p oe w cm hd c k i p vr ww w .w n. o/ t os c /a / w/ po ew cm h dc d v rw ww .w n .o /t os
  • 17. Speed Test < DC YE hm > ! OT P t l < tl h m> < ed h a> <i l> mI Fs ? /i l> tt e A a t< tt e <t l tp =t x/ s" . at { cl r g e n } . lw {c lr r d fn -e gt sy e ye "e t cs > fs oo : re ; so oo : e ; ot w ih : < ha > / ed < oy b d> < 1A lo t ee so l b ge n< h> h >l f h s h ud e re : /1 < pp fn to t s( vl { eh $ a ?' sa c as "a t ># 21 ;/ pn ' :' sa c a ? h u ci n e t $a ) c o vl < p n l s =f s" &x 73 < sa > <pn l <l d> <t Ui gN IX < d> d> s n GN :/ t <d <p pt s( r gm th 'n i x' $S R E[ SR E_ O TA E] ) ?< d> d> ? h et pe _a c (# gn #, _ EV R' E VR SF WR ') ; >/ d <t Ui gP Pa F sC I <d > d> s n H s at G: /t <d <p pt s( r gm th 'f g #, pp sp _a e )) ? <d > d> ? h et pe _a c (# ci ' h_ a in m( ); > /d <t Ui gP PF M <d > d> s n H- P: /t <d <p pt s( r gm th 'f m ' p ps p _a e) ) ?< d> d> ? h et pe _a c (# p# , h_ ai nm ( ); > /d <t Ea ld AC < d> d> n be P :/ t <d <p pt s( u ci ne it ( ac cc ei f' & @ p_ ah _n o 'p oe ); d> ? h et fn to _ xs s' p_ ah _ no ) & a c cc ei f( oc d ') <t Ea ld MS L Qa h: /t d> n be y Q Cc e <d > <d <p p d> ? h $ on =n wm sl ( lc lo t, ' ot ,' ) cn e yq i' oa h s' r o' ' ; $ r = $ on >u r( so v ra l sl k ' u r_ ah _i e "; qy c n- qe y "h w ai be i e qe yc c es z' ) ts (n vl $r - ft ho jc ( -V le > 0; et i ta (q y> ec _ be t) >a u) ) ?< d> >/ d < bd > / oy < hm > / tl
  • 18. Where's the WordPress in this WordPress presentation?
  • 19. Configure the Local WordPress Environment 1. 2. 3. 4. 5. Setup local DNS Setup local web root Setup local database Setup version control with a copy of WordPress Set up a simple theme
  • 20. Local Web Root & Database Local Web Root will be different for everyone m dr - // ap /t os v rw .l ie k i p cx mp h dc /d /p c ar c // a p/ to sv rw . li e d c xm ph dc / d/ pc ar Database is generally the same for everyone m sl -r o y q u ot c et d tb s w ; r ae a aa e p
  • 21. Setup Version Control 1. 2. 3. 4. Using git and GitHub! on GitHub for your site named "wp" and extract WordPress to your local environment Initialize the repo with the WordPress files Push the files from your local environment to the newly created repo at GitHub c r h t :/ od rs .r / ae tt rg | tr xz u l tp /w rp e so gl ts . a. z a v m wr p es hd c; c hd c v o dr s to s d t os g ti i i nt g ta d. i d g tc mi - "d e Wr P es t sa t i o m t m A dd o dr s o tr " g tr mt a do ii g tg tu . o: ig at rw . i i e o e d r g n i @ ih bc mr nm s e/ pg t g tp s - o ii m se i u h u rg n at r
  • 22. Set up a Simple Theme Let's build a child theme of twentytwelve! / * T ee Nm : hm ae S m oe sW u Br oe n' ht a s T ee UI hm R: h t :/ ea tc m tp /r d l. o/ D sr pi n e ci t o: A t ee fr te S mo es Wu B r st ,b it a ac id o te t te v h m o h o en ' h t a s ie ul s hl f w ny wl A to : u hr O e Wn l r wn i ke A to U I u hr R : h t :/ wn cm tp /o e .o / T ml t: e pa e t e tt ev wn yw l e V ri n e so : 10 . * / @ mo tu l" .t e tt ev /t l .s "; i pr r( ./ wn yw l es ye cs ) If not, then maybe use ...
  • 24. Static Home Page Our product site is not primarily a blog Settings » Reading » Front page displays
  • 25. Main Menu Menus are easy and effective Create pages as targets Create a menu Add the pages to the menu
  • 26. Color Accent Don't forget that Someone really likes the color . h m b d .u tm bc go n { t l oy cs o- a kr ud bc go n- oo : #0 48 ak r ud cl r 04 8 ; } h ,h a .i eh a e h a { 1 1 , s t- ed r 1 cl r #0 48 oo : 04 8; } Appearance » Background can set the background color, but...
  • 27. What's this "Word Press" thing? Let's remove the WordPress credit from the footer. Copy the existing footer.php from twentytwelve into our custom wp theme.
  • 28. Kill Comments We don't want comments on our modern product blog Override the comments.php template with a blank file!
  • 29. Custom Product Type Let's create a listing to use in a sidebar product a da to (' nt , 'r ae po u tt p' ) d _c i n ii ' ce t _r dc _y e ; f nt o ce t_ rd c_ y e) { u ci n ra ep o ut tp ( rg se _o tt p (' pp ou t , ei t rp s_ ye w _ rd c' ar y ra ( 'a es = ar y lb l ' > r a( 'a e = _ (' r dc s ) nm ' > _ Po ut ' , 'i gl rn m' = _( ' rd c' ) sn u a_ ae > _ P ou t ) , 'u lc = tu , pb i ' > r e 'a _r hv '= f le hs a ci e > as , 'e rt '= a ry 'l g = 'r dc s) rw i e > r a (s u' > p ou t' , ) ) ; }
  • 30. Things to Know This can go in functions.php or a new plugin The custom type can have its own template: single-{typename}.php
  • 31. Product Widget Let's to automatically list items from our custom product post type c as Po ut _i g te tn sW _ ig t{ l s r dc sW de x e d PW de fn to _ cn tu t) { uc i n _ os r c( pr n: _c nt u t ae t :_ os rc ( 'r dc sW de ' Po u t_ ig t, 'r dc sW de ' Po u t ig t, ar y 'e ci to '= ' ip a sa ls ig o Po ut ' ) ra ( ds rp i n > Ds ly it n f r dc s, ) ; } pb i fn to w de ($ rs $ nt ne ) { ul c uc in i gt ag , is ac $r s= ar y 'o tt p '= ' pp ou t, 'o t _e _a e = 1 ) ag r a( p s_ ye > w _r dc ' p ss pr p g' > 0 ; $o p= nw W_ u r( $r s) lo e P Qe y a g ; eh ' co Our Products ' ; wi e( $o p> a ep ss )) : $o p> h_ ot ) hl l o- hv _o t ( lo -t e ps (; te tt e) h_ i l( ; eh ' co ' ; te cn et ) h_ o tn (; eh ' co ' ; ed hl ; nw i e eh ' co ' ;
  • 32. Why not use plugins? Two answers: 1. Go ahead! 2. More plugins equals more weight, maintenance, and deployment complication.
  • 34. Deploy Files Step 1 - Prepare Make sure everything necessary is in git and pushed to github: g ts au i tts g tc mi - m" pa ee e yh n. i o m t a U d t vr ti g " g tp s oi i m s e i u h rg n at r The wp-config.php file?
  • 35. Deploy Files Step 2 - "Upload" Instead of using SFTP to upload files, we'll use git to download them directly to the server c /a / w/ po ew cm d v rw ww .w n .o g tc oe ht s/ g tu .o /i g at rw .i h dc i l n t p: /i hb c mr nm se /p g t t o s
  • 36. Deploy Database Step 1 - Prepare Database transfer is complicated... Let's use the plugin. c // a p/ to sv rw . li eh dc /p c ne tu la s d c xm ph dc / d/ pc ar / to sw -o tn / po d s pw -i rt -. . q r o @p oe wc m/ a /w /p c p m ga e. .s l ot w. w n. o: vr ww w
  • 37. Deploy Database Step 2 - Restore This process overwrites all of the database data on the server m sl -r o w < w -i rt -. . q y q u ot p p mg a e. .s l
  • 40. Missed Some Configuration Things wp-config.php on dev/staging/local Caching Reverse-Proxy? Varnish? Wait, where's the .htaccess?
  • 41. Missed Some Deployment Things Automated deployment. See: capistrano How are updates to code/core handled? How are updates from production handled? How are user uploads handled? What happens when something goes wrong?
  • 42. Missed Some Security Things What's with all the "root" access? MySQL users don't have passwords? Where are your firewall rules?