...
If you'd like to skip setup, you can always clone our kalapress proKalaPress as a starting point.
Get started configuring Wordpress with Lando.
...
Download the .sql backup from the host. (Ensure it is unzipped)
Backups in WPEngine can be found in the installation you need a backup of under ‘Backup Points’
Search and replace the base url of the instance with your local base url
sed -i 's|https:\/\/wavelengthmusic\.ca|https:\/\/wav-test\.lndo\.site|g' wp_wavelengthto.sql
Import with
lando db-import <db.sql>
Wordpress and Circle CI
With our current setup, most of our Wordpress sites go through circle CI and simply have their wp-content directory rsync'ed to the WPEngine instance.
Here is how to create a circle CI config.
Setting up Wordpress with circle CI for WPEngine.
Otherwise, here is the CI configuration that kalapress pro uses:
...
language | yaml |
---|
...
Note that on Macs you need to add an extension parameter or you get an “invalid command” error. The above line would need to be:
sed -i .sql 's|https:\/\/wavelengthmusic\.ca|https:\/\/wav-test\.lndo\.site|g' wp_wavelengthto.sql
Import with
lando db-import <db.sql>
Deployments
The deployment process for our installs can be found here in the Wiki.