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

From Local to Staging to Live Using Version Con...

From Local to Staging to Live Using Version Control & Deployment

How to setup a (WordPress) website development environment to build sites locally, deploying them to a staging server first before pushing them live.

Mark Wilkinson

July 13, 2014

Transcript

46 slides
  1. FROM LOCAL TO STAGING TO LIVE Using Version Control &

    Deployment Tools Mark Wilkinson | @wpmark
  2. WE WILL COVER •  The  Problem   •  Local  Development

     Setup   •  Version  Control   •  Staging  /  Production  Site  
  3. WE WILL COVER •  The  Problem   •  Local  Development

     Setup   •  Version  Control   •  Staging  /  Production  Site   •  Deployment  
  4. Insanity: doing the same thing over and over again and

    expecting different results Albert Einstein “
  5. http://markjaquith.wordpress.com/2011/06/24/wordpress-local-dev-tips/ if ( file_exists( dirname( __FILE__ ) . '/local- config.php'

    ) ) { include( dirname( __FILE__ ) . '/local-config.php' ); define( 'WP_LOCAL_DEV', true ); } else { // ** MySQL settings - You can get this info from your web host ** // /** The name of the database for WordPress */ }
  6. DEVELOP LOCALLY UNDER VERSION CONTROL USE DEPLOYMENT NOT FTP DEPLOY

    TO STAGING FIRST DEPLOY TO PRODUCTION DATABASE NOT THAT IMPORTANT

More Decks by Mark Wilkinson

Other Decks in Technology