Helpful Docker tips:
- https://developer.wordpress.com/2022/11/14/seetup-local-development-environment-for-wordpress/
- https://aschmelyun.com/blog/build-a-solid-wordpress-dev-environment-with-docker/
This theme is a child theme of the [https://www.studiopress.com/themes/genesis/](Genesis Framework).
General Wordpress and wp-scripts help:
Copy ZscalerRootCA.crt
to docker
docker compose up wordpress
sudo chown -R j-lo:staff wordpress
Copy database backup:
rsync -avzh pof:backups-tigertech/current/mysql/poweroffamilies/poweroffamilies.dump db-backups/
Use phpMyAdmin to upload database
rsync -avzh --exclude=~/backups-tigertech/current/www/wp-content/themes/power-of-families pof:~/backups-tigertech/current/www/wp-content/themes ./wordpress/wp-content/
rsync -avzh --exclude=~/backups-tigertech/current/www/wp-content/plugins/pof-programs --exclude=~/backups-tigertech/current/www/wp-content/plugins/pom-bloom pof:~/backups-tigertech/current/www/wp-content/plugins ./wordpress/wp-content/
Add the following to wp-config.php
define('WP_HOME', 'http://localhost:8080');
define('WP_SITEURL', 'http://localhost:8080');
Set WP_DEBUG
to true
in wp-config
.
For working with visual composer and our custom shortcodes, see: https://wpbakery.atlassian.net/wiki/pages/viewpage.action?pageId=524332
export BASE_DIR="backups-tigertech/2024-03-23T02:16:39-07:00/www/"; rsync -avzhn --exclude ${BASE_DIR}wp-content/uploads --exclude ${BASE_DIR}wp-content/media pof:${BASE_DIR} ./wordpress
export BASE_DIR="backups-tigertech/2024-03-23T02:16:39-07:00/"; rsync -avzh pof:${BASE_DIR}mysql/poweroffamilies/poweroffamilies.dump .