SlideShare uma empresa Scribd logo
1 de 18
Baixar para ler offline
Developing Locally with
WordPress: No More
Cowboy Coding
!

Matt Banks
!

@mattbanks
Why Develop Locally?
•

Test new features and updates without breaking
your live/production site - no Cowboy Coding

•

Run Nightly/Beta builds of WordPress for testing

•

Contribute to Core!

•

Work offline, anywhere
Don’t be a Cowboy Coder
Running a Local Server
•

MAMP / XAMMP / WAMP

•

DestopServer

•

Native LAMP Stack

•

Vagrant
MAMP / XAMMP / WAMP
•

Self-contained applications to run local servers

•

MAMP - http://www.mamp.info/ - Mac

•

XAMMP - http://www.apachefriends.org/en/
xampp.html - Mac/Windows

•

WAMP - http://www.wampserver.com/ - Windows
DesktopServer

•

Free and Paid versions available

•

LAMP stack + WordPress installed

•

http://serverpress.com/products/desktopserver/
Installing MAMP
•

Download and run Installer

•

Open app, visit 

http://localhost:8888/

•

Party!
Native LAMP Stack
•

More advanced, more customizable

•

Built in Apache/PHP in Mac + Homebrew
•

brew install mysql

Configure Apache, Hosts file, etc.


•



http://joshuakaiser.com/2012/08/29/configuringa-lamp-stack-on-mac-os-10-8/
Vagrant
•

The ultimate local
development
environment

•

Manage virtual
machines

•

http://www.vagrantup.com/
Benefits of Vagrant
•

Mimic your production environment

•

No more “It worked for me in development”

•

Manage multiple virtual machines to mimic
multiple hosting environments

•

Compartmentalized and portable
Installing Vagrant
Download/install VirtualBox


•



https://www.virtualbox.org/
Download/install Vagrant


•



http://www.vagrantup.com/
Vagrant Boxes
Download pre-made boxes from
Vagrant or other users


•




http://www.vagrantbox.es/
•

Create your own Vagrant box

•

PuPHPet




https://puphpet.com/
Share it on GitHub!


•




https://github.com/mattbanks/
vagrant-dev-box
Varying Vagrant Vagrants
•

Terrific LEMP (Nginx) Vagrant box from 10up

•

Includes WordPress stable, trunk, src (trunk
development files), and build (dev files built with
Grunt)



https://github.com/10up/varying-vagrantvagrants
Booting a Vagrant Box
•

Go to your Vagrant box folder
in Terminal

•

Run “vagrant up”

•

Box will download and
provision (may take a few
minutes the first time)
Now What?
Install WordPress,

of course!



http://codex.wordpress.org/
Installing_WordPress



http://codex.wordpress.org/
Installing_WordPress_Locally
_on_Your_Mac_With_MAMP
Demo
Thank You!
If you have any questions, let me know!
!

matt@kernelcreativemedia.com
!

Twitter: @mattbanks
!

Skype: mattbanks-14

Mais conteúdo relacionado

Mais procurados

LAMP Management with Virtualmin
LAMP Management with VirtualminLAMP Management with Virtualmin
LAMP Management with Virtualmin
Joe Ferguson
 
Scale like a pro with Gearman
Scale like a pro with GearmanScale like a pro with Gearman
Scale like a pro with Gearman
Amal Raghav
 
Less\sass done right in .NET
Less\sass done right in .NETLess\sass done right in .NET
Less\sass done right in .NET
PawelPabich
 

Mais procurados (20)

Building desktop apps in 2016
Building desktop apps in 2016Building desktop apps in 2016
Building desktop apps in 2016
 
A idea of Powerful WooCmmerce Site
A idea of Powerful WooCmmerce SiteA idea of Powerful WooCmmerce Site
A idea of Powerful WooCmmerce Site
 
Website design & developemet
Website design & developemetWebsite design & developemet
Website design & developemet
 
LAMP Management with Virtualmin
LAMP Management with VirtualminLAMP Management with Virtualmin
LAMP Management with Virtualmin
 
Azkaban-en
Azkaban-enAzkaban-en
Azkaban-en
 
Rubyhosting
RubyhostingRubyhosting
Rubyhosting
 
Make Local WordPress Development Simple
Make Local WordPress Development SimpleMake Local WordPress Development Simple
Make Local WordPress Development Simple
 
EUGM 2014 - Eufrozina Hoffmann (ChemAxon): Smart Drawing with Marvin JS
EUGM 2014 - Eufrozina Hoffmann (ChemAxon): Smart Drawing with Marvin JS  EUGM 2014 - Eufrozina Hoffmann (ChemAxon): Smart Drawing with Marvin JS
EUGM 2014 - Eufrozina Hoffmann (ChemAxon): Smart Drawing with Marvin JS
 
Scale like a pro with Gearman
Scale like a pro with GearmanScale like a pro with Gearman
Scale like a pro with Gearman
 
Betfair's Site Rebuild: Fast - We promise
Betfair's Site Rebuild: Fast - We promiseBetfair's Site Rebuild: Fast - We promise
Betfair's Site Rebuild: Fast - We promise
 
Immutability: from code to infrastructure, the way to scalability - Breizhca...
 Immutability: from code to infrastructure, the way to scalability - Breizhca... Immutability: from code to infrastructure, the way to scalability - Breizhca...
Immutability: from code to infrastructure, the way to scalability - Breizhca...
 
Less\sass done right in .NET
Less\sass done right in .NETLess\sass done right in .NET
Less\sass done right in .NET
 
The Platform Era, Software and APIs in the organization change
The Platform Era, Software and APIs in the organization changeThe Platform Era, Software and APIs in the organization change
The Platform Era, Software and APIs in the organization change
 
Best practices 101
Best practices 101Best practices 101
Best practices 101
 
Building Faster Locally with Local - Ben Turner
Building Faster Locally with Local - Ben TurnerBuilding Faster Locally with Local - Ben Turner
Building Faster Locally with Local - Ben Turner
 
An introduction to html5 by Devs
An introduction to html5 by DevsAn introduction to html5 by Devs
An introduction to html5 by Devs
 
Single Page Apps
Single Page AppsSingle Page Apps
Single Page Apps
 
Ohoh
OhohOhoh
Ohoh
 
The Often Useful Somewhat Annoying World of WordPress Multisite
The Often Useful Somewhat Annoying World of WordPress MultisiteThe Often Useful Somewhat Annoying World of WordPress Multisite
The Often Useful Somewhat Annoying World of WordPress Multisite
 
Automation of Deep learning training with AWS Step Functions
Automation of Deep learning training with AWS Step FunctionsAutomation of Deep learning training with AWS Step Functions
Automation of Deep learning training with AWS Step Functions
 

Destaque

Adobe Social Intelligence Report IV 2013
Adobe Social Intelligence Report IV 2013Adobe Social Intelligence Report IV 2013
Adobe Social Intelligence Report IV 2013
Marketing4eCommerce
 
Tradedoubler mobile-shopping-2014
Tradedoubler mobile-shopping-2014Tradedoubler mobile-shopping-2014
Tradedoubler mobile-shopping-2014
Marketing4eCommerce
 
Eqpo 7 entorno de trabajo (escritorio)
Eqpo 7 entorno de trabajo  (escritorio)Eqpo 7 entorno de trabajo  (escritorio)
Eqpo 7 entorno de trabajo (escritorio)
Alfredo Hernandez
 
Manual penempatan murid secara manual sps
Manual penempatan murid secara manual spsManual penempatan murid secara manual sps
Manual penempatan murid secara manual sps
cgdean_smkdbd
 

Destaque (17)

Maths project
Maths projectMaths project
Maths project
 
Chapter 6
Chapter 6Chapter 6
Chapter 6
 
Power point per.4
Power point per.4Power point per.4
Power point per.4
 
Adobe Social Intelligence Report IV 2013
Adobe Social Intelligence Report IV 2013Adobe Social Intelligence Report IV 2013
Adobe Social Intelligence Report IV 2013
 
Influencers Copy
Influencers CopyInfluencers Copy
Influencers Copy
 
Tradedoubler mobile-shopping-2014
Tradedoubler mobile-shopping-2014Tradedoubler mobile-shopping-2014
Tradedoubler mobile-shopping-2014
 
Costos predeterminados equipo 8
Costos predeterminados equipo 8Costos predeterminados equipo 8
Costos predeterminados equipo 8
 
What Commuting Really Costs You
What Commuting Really Costs YouWhat Commuting Really Costs You
What Commuting Really Costs You
 
Love
LoveLove
Love
 
Is There Room for Jesus?
Is There Room for Jesus?Is There Room for Jesus?
Is There Room for Jesus?
 
Eqpo 7 entorno de trabajo (escritorio)
Eqpo 7 entorno de trabajo  (escritorio)Eqpo 7 entorno de trabajo  (escritorio)
Eqpo 7 entorno de trabajo (escritorio)
 
Star Art Portfolio
Star Art PortfolioStar Art Portfolio
Star Art Portfolio
 
Manual penempatan murid secara manual sps
Manual penempatan murid secara manual spsManual penempatan murid secara manual sps
Manual penempatan murid secara manual sps
 
North construction - construction project management
North construction - construction project managementNorth construction - construction project management
North construction - construction project management
 
Ionic HumanTalks - 11/03/2015
Ionic HumanTalks - 11/03/2015Ionic HumanTalks - 11/03/2015
Ionic HumanTalks - 11/03/2015
 
Why We Instruct
Why We InstructWhy We Instruct
Why We Instruct
 
Peace - Niño Josele (Guitar Cover)
Peace - Niño Josele (Guitar Cover)Peace - Niño Josele (Guitar Cover)
Peace - Niño Josele (Guitar Cover)
 

Semelhante a Developing Locally with WordPress: No More Cowboy Coding

20120329 installing wordpress_3_3_1_locally
20120329 installing wordpress_3_3_1_locally20120329 installing wordpress_3_3_1_locally
20120329 installing wordpress_3_3_1_locally
DERlab
 
Powering Development and Testing Environments with Vagrant
Powering Development and Testing Environments with VagrantPowering Development and Testing Environments with Vagrant
Powering Development and Testing Environments with Vagrant
Coen Jacobs
 

Semelhante a Developing Locally with WordPress: No More Cowboy Coding (20)

20120329 installing wordpress_3_3_1_locally
20120329 installing wordpress_3_3_1_locally20120329 installing wordpress_3_3_1_locally
20120329 installing wordpress_3_3_1_locally
 
Setting up a local WordPress development environment
Setting up a local WordPress development environmentSetting up a local WordPress development environment
Setting up a local WordPress development environment
 
Making development environments not suck | #econfpsu #econfpsu16
Making development environments not suck | #econfpsu #econfpsu16Making development environments not suck | #econfpsu #econfpsu16
Making development environments not suck | #econfpsu #econfpsu16
 
Vagrant&ansible
Vagrant&ansibleVagrant&ansible
Vagrant&ansible
 
Powering Development and Testing Environments with Vagrant
Powering Development and Testing Environments with VagrantPowering Development and Testing Environments with Vagrant
Powering Development and Testing Environments with Vagrant
 
Web assembly overview by Mikhail Sorokovsky
Web assembly overview by Mikhail SorokovskyWeb assembly overview by Mikhail Sorokovsky
Web assembly overview by Mikhail Sorokovsky
 
Improved development workflows using vagrant
Improved development workflows using vagrantImproved development workflows using vagrant
Improved development workflows using vagrant
 
Wordpress vs Google Blogger/ Wampserver
Wordpress vs Google Blogger/ WampserverWordpress vs Google Blogger/ Wampserver
Wordpress vs Google Blogger/ Wampserver
 
Local Dev on Virtual Machines - Vagrant, VirtualBox and Ansible
Local Dev on Virtual Machines - Vagrant, VirtualBox and AnsibleLocal Dev on Virtual Machines - Vagrant, VirtualBox and Ansible
Local Dev on Virtual Machines - Vagrant, VirtualBox and Ansible
 
Varying WordPress Development Environment WordCamp Cincinnati 2016
Varying WordPress Development Environment WordCamp Cincinnati 2016Varying WordPress Development Environment WordCamp Cincinnati 2016
Varying WordPress Development Environment WordCamp Cincinnati 2016
 
WordPress Development Environments
WordPress Development EnvironmentsWordPress Development Environments
WordPress Development Environments
 
DevOps Camp 2017 NYC Local Development using Vagrant by Anthony Alvarez
DevOps Camp 2017 NYC Local Development using Vagrant by Anthony AlvarezDevOps Camp 2017 NYC Local Development using Vagrant by Anthony Alvarez
DevOps Camp 2017 NYC Local Development using Vagrant by Anthony Alvarez
 
ZendCon 2015 - Laravel Forge: Hello World to Hello Production
ZendCon 2015 - Laravel Forge: Hello World to Hello ProductionZendCon 2015 - Laravel Forge: Hello World to Hello Production
ZendCon 2015 - Laravel Forge: Hello World to Hello Production
 
Varying WordPress Development Environment WordCamp Columbus 2016
Varying WordPress Development Environment WordCamp Columbus 2016Varying WordPress Development Environment WordCamp Columbus 2016
Varying WordPress Development Environment WordCamp Columbus 2016
 
Install Drupal on Wamp Server
Install Drupal on Wamp ServerInstall Drupal on Wamp Server
Install Drupal on Wamp Server
 
Laravel Forge: Hello World to Hello Production
Laravel Forge: Hello World to Hello ProductionLaravel Forge: Hello World to Hello Production
Laravel Forge: Hello World to Hello Production
 
Presentation xampp new.pptx xampp presentation
Presentation xampp new.pptx xampp presentationPresentation xampp new.pptx xampp presentation
Presentation xampp new.pptx xampp presentation
 
Working in harmony
Working in harmonyWorking in harmony
Working in harmony
 
Varying wordpressdevelopmentenvironment wp-campus2016
Varying wordpressdevelopmentenvironment wp-campus2016Varying wordpressdevelopmentenvironment wp-campus2016
Varying wordpressdevelopmentenvironment wp-campus2016
 
WordPress Development Environments
WordPress Development Environments WordPress Development Environments
WordPress Development Environments
 

Último

Último (20)

Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 

Developing Locally with WordPress: No More Cowboy Coding