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

Beyond FTP - My WordPress Development Workflow

Beyond FTP - My WordPress Development Workflow

We have all used FTP as developers to move files from editing them locally to our production server. Developers know the problems this can cause and why alternatives are needed. In this talk I will introduce my WordPress development process and how you can move on from FTP to a more robust development and deployment system. The talk is suitable for developers and designers who build complete sites, or work in teams in which they are responsible for delivering part of a project, collaborating with others.

Mark Wilkinson

November 17, 2015
Tweet

More Decks by Mark Wilkinson

Other Decks in Programming

Transcript

  1. Insanity: doing the same thing over and over again and

    expecting different results Albert Einstein “
  2. 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 ); define( 'WP_STAGING_DEV', false ); } else { // ** MySQL settings - You can get this info from your web host ** // /** The name of the database for WordPress */ }
  3. 1.  Create your repo 2.  Pull to local dev 3. 

    Build site local – commit as you go 4.  Setup Staging (migrate DB) 5.  Setup deployment (production & staging) 6.  Push to staging 7.  Setup Production (migrate DB) from staging 8.  Push to production
  4. 1.  Create your repo 2.  Pull to local dev 3. 

    Build site local – commit as you go 4.  Setup Staging (migrate DB) 5.  Setup deployment (production & staging) 6.  Push to staging 7.  Setup Production (migrate DB) from staging 8.  Push to production
  5. 1.  Create your repo 2.  Pull to local dev 3. 

    Build site local – commit as you go 4.  Setup Staging (migrate DB) 5.  Setup deployment (production & staging) 6.  Push to staging 7.  Setup Production (migrate DB) from staging 8.  Push to production
  6. 1.  Create your repo 2.  Pull to local dev 3. 

    Build site local – commit as you go 4.  Setup Staging (migrate DB) 5.  Setup deployment (production & staging) 6.  Push to staging 7.  Setup Production (migrate DB) from staging 8.  Push to production
  7. 1.  Create your repo 2.  Pull to local dev 3. 

    Build site local – commit as you go 4.  Setup Staging (migrate DB) 5.  Setup deployment (production & staging) 6.  Push to staging 7.  Setup Production (migrate DB) from staging 8.  Push to production
  8. 1.  Create your repo 2.  Pull to local dev 3. 

    Build site local – commit as you go 4.  Setup Staging (migrate DB) 5.  Setup deployment (production & staging) 6.  Push to staging 7.  Setup Production (migrate DB) from staging 8.  Push to production
  9. 1.  Create your repo 2.  Pull to local dev 3. 

    Build site local – commit as you go 4.  Setup Staging (migrate DB) 5.  Setup deployment (production & staging) 6.  Push to staging 7.  Setup Production (migrate DB) from staging 8.  Push to production
  10. 1.  Create your repo 2.  Pull to local dev 3. 

    Build site local – commit as you go 4.  Setup Staging (migrate DB) 5.  Setup deployment (production & staging) 6.  Push to staging 7.  Setup Production (migrate DB) from staging 8.  Push to production
  11. 1.  Create your repo 2.  Pull to local dev 3. 

    Build site local – commit as you go 4.  Setup Staging (migrate DB) 5.  Setup deployment (production & staging) 6.  Push to staging 7.  Setup Production (migrate DB) from staging 8.  Push to production