Skip to content

Setting up WordPress projects at Getfives

Lubos Kmetko edited this page Jul 20, 2017 · 20 revisions

The following setup assumes that all DB updates are done in WP admin on x5view.co and pulled to local database. This allows more developers to work on the same project without overriding their updates.

Create project at Getfives

  1. Create new Chisel WordPress with Frontend project
  2. git clone repository

Setup Chisel project locally

  1. Run yo chisel to setup project locally
  2. Select WordPress with Front-end
  3. Choose plugins WP Sync DB and WP Sync DB Media File Addon
  4. Commit & push

Setup WordPress site at x5view.co

  1. Go to the project site at x5view.co
  2. Install WordPress. Enter the site details.
  3. Login to WordPress admin and activate plugins WP Sync DB and WP Sync DB Media File Addon
  4. Go to Tools / Migrate DB / Settings
  5. Check Accept pull requests allow this database to be exported and downloaded

Set up local WordPress site

  1. Login to WordPress admin of your local project
  2. Click on Pull Replace this site's db with remote db
  3. Copy connection info from the x5view.co site
  4. Enter Username & Password of the site
  5. In the Find & Replace section set up the x5view.co domain to be replaced with the the local dev domain (eg. project-name.dev, not localhost)
  6. Check Save Migration Profile
  7. Click Migrate DB & Save

Clone this wiki locally