Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Beginners Guide to WordPress Workflow

Beginners Guide to WordPress Workflow

Are you new to WordPress and unsure how to migrate a site manually? Do you want to start working locally but have no idea what tool to use and what needs to go where?

This session will talk about migration, local environments and how to connect everything together to find your perfect developer workflow.

Topics Covered:

WordPress Core Folder Structure & Database Structure
Version Control
Local Environments
Site Hosting
Migration Process

Tessa Kriesel

July 15, 2017
Tweet

More Decks by Tessa Kriesel

Other Decks in Technology

Transcript

  1. WORDPRESS
    WORKFLOW
    BEGINNERS GUIDE TO

    View full-size slide

  2. ABOUT ME
    Agency & Community Engineer

    Instructor
    Executive Director / Founder

    View full-size slide

  3. REACH OUT
    @tessak22

    [email protected]
    tessakriesel.com
    Find me at other
    WordPress events!

    View full-size slide

  4. WORDPRESS CORE

    View full-size slide

  5. FOLDER STRUCTURE

    View full-size slide

  6. ROOT DIRECTORY

    View full-size slide

  7. WP-CONFIG.PHP

    View full-size slide

  8. LOTS OF THEME FILES

    View full-size slide

  9. DATABASE STRUCTURE

    View full-size slide

  10. WP_OPTIONS TABLE

    View full-size slide

  11. WP_USERS, WP_USERMETA TABLES

    View full-size slide

  12. WP_TERMS, WP_TERM_RELATIONSHIPS, WP_TERM_TAXONOMY

    View full-size slide

  13. WP_COMMENTS, WP_COMMENTMETA

    View full-size slide

  14. WHAT COMES NEXT?
    NOW WHAT?
    WHAT COMES NEXT?

    View full-size slide

  15. Working Locally
    Version Control
    Site Hosting

    View full-size slide

  16. VERSION CONTROL

    View full-size slide

  17. WHY VERSION CONTROL?

    View full-size slide

  18. WHAT IS GIT?
    Git is a free and open source
    distributed version control system
    designed to handle everything from
    small to very large projects with speed
    and efficiency.

    View full-size slide

  19. GIT VS GITHUB

    View full-size slide

  20. GIT REPOSITORY HOSTING

    View full-size slide

  21. COMMAND LINE

    View full-size slide

  22. .GITIGNORE FILE

    View full-size slide

  23. EXAMPLE
    Let’s create a new WordPress repo!

    View full-size slide

  24. USING GIT WITH SITE HOSTING

    View full-size slide

  25. WORKING LOCALLY

    View full-size slide

  26. TOOLS TO WORK LOCALLY

    View full-size slide

  27. CLEAN FOLDERS
    Setup a “www” or “sites” folder in the root
    directory of your computer. As you create
    projects, create subfolders for each project
    and include all project files in there.
    This will also be easier for when you start
    using command line and for your local
    environment tool.

    View full-size slide

  28. INSTALL WORDPRESS
    1. Create Database
    2. Copy over files from WordPress.org download
    3. Setup your local environment - this varies
    depending on tool
    4. Navigate to the url for your local environment
    5. Run WordPress Install
    6. If you are using git, you should do your first commit
    of your WordPress site

    View full-size slide

  29. EDITORS AND IDEAS

    View full-size slide

  30. MORE ADVANCED LOCAL TOOLS

    View full-size slide

  31. SITE HOSTING

    View full-size slide

  32. SELF VS MANAGED

    View full-size slide

  33. SHARED HOSTING
    ★Cheaper
    ★Noisy Neighbor Issues
    ★Learn things - possibly the hard way
    ★Lots of competition means they work harder
    ★More Control
    ★No Limits

    View full-size slide

  34. MANAGED HOSTING
    ★Costs More
    ★Fast & Secure
    ★Great Support
    ★Dev Tools
    ★3rd Party Integrations
    ★Automated Updates & Backups
    ★Less Control

    View full-size slide

  35. AWESOME SHARED HOSTING PROVIDERS

    View full-size slide

  36. AWESOME MANAGED HOSTING PROVIDERS

    View full-size slide

  37. MOVING FILES

    View full-size slide

  38. MOVE DATABASE

    View full-size slide

  39. SEARCH & REPLACE URL’S

    View full-size slide

  40. WP MIGRATE DB PRO

    View full-size slide

  41. FIND ME AT THE
    HAPPINESS BAR!

    View full-size slide

  42. TESSAKRIESEL.COM/FEEDBACK

    View full-size slide