-
Notifications
You must be signed in to change notification settings - Fork 37
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 new Chisel WordPress with Frontend project
-
git clonerepository
- Run
yo chiselto setup project locally - Select WordPress with Front-end
- Choose plugins WP Sync DB and WP Sync DB Media File Addon
- Commit & push
- Go to the project site at x5view.co
- Install WordPress. Enter the site details.
- Login to WordPress admin and activate plugins WP Sync DB and WP Sync DB Media File Addon
- Go to Tools / Migrate DB / Settings
- Check Accept pull requests allow this database to be exported and downloaded
- Login to WordPress admin of your local project
- Click on Pull Replace this site's db with remote db
- Copy connection info from the x5view.co site
- Enter Username & Password of the site
- 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) - Check Save Migration Profile
- Click Migrate DB & Save