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.

31af50af29856a3e6734bdae0a0d68cf?s=128

Mark Wilkinson

November 17, 2015
Tweet

Transcript

  1. 9.
  2. 10.
  3. 11.
  4. 12.
  5. 13.
  6. 14.
  7. 15.
  8. 16.

    Insanity: doing the same thing over and over again and

    expecting different results Albert Einstein “
  9. 25.
  10. 32.
  11. 35.

    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 */ }
  12. 38.
  13. 40.
  14. 41.

    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
  15. 42.

    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
  16. 43.

    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
  17. 44.

    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
  18. 45.

    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
  19. 46.

    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
  20. 47.

    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
  21. 48.

    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
  22. 49.

    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