Syncing local content with development / staging sites

by GSTAR   Last Updated July 09, 2017 18:08 PM

I come from a Laravel background which means I am used to using database migrations and seedings to keep content on dev / staging sites in sync with my local environment.

I'm starting my first project in WordPress and was wondering how to go about doing the same. Essentially I'm building the site on my local environment and through the use of plugins such as Advanced Custom Fields I will create the content for the site. I need an easy was of ensuring the dev / staging sites have the same content as my local environment. I only want to sync content such as posts, pages, custom post types, and any associated media.

Deployment of code itself is not an issue as the code is kept under version control and I can create a webhook to auto deploy the code.

I have read up on plugins such as WP Migrate DB but I'm not sure this is the tool for the job.

Can anyone advise the best way to accomplish this?



Related Questions



Strange characters added to the database

Updated October 07, 2016 09:03 AM

Migrate a Non Wordpress database to wordpress

Updated April 06, 2017 16:08 PM

Migration issue

Updated May 19, 2017 12:08 PM

Organizing WP Pages based on old website database

Updated June 01, 2017 18:08 PM