# HG changeset patch # User ymh # Date 1560787750 -7200 # Node ID 03b0f48818d7e90662192d99bfcb84f1e6a64440 # Parent 2f63751d163931aa46426c32f14f004c1673e08e Add documentation on db import diff -r 2f63751d1639 -r 03b0f48818d7 README.md --- a/README.md Mon Jun 17 17:53:36 2019 +0200 +++ b/README.md Mon Jun 17 18:09:10 2019 +0200 @@ -78,12 +78,31 @@ ``` $ docker-compose exec wp /var/www/html/vendor/bin/wp --allow-root search-replace https://recherchecontributive.org http://recherchecontributive.test:8080 ``` +Set the template root +``` +$ docker-compose exec -T wp /var/www/html/vendor/bin/wp --allow-root option set template_root "/var/www/recherchecontributive.org/web/wp/wp-content/themes" +``` + +delete options +``` +$ docker-compose exec -T wp /var/www/html/vendor/bin/wp --allow-root option delete _site_transient_update_themes +``` +``` +$ docker-compose exec -T wp /var/www/html/vendor/bin/wp --allow-root option delete _site_transient_theme_roots +``` + Or change the administration password ``` $ docker-compose exec -T wp /var/www/html/vendor/bin/wp --allow-root user update admin --prompt=user_pass ``` +Flush cache +``` +$ docker-compose exec -T wp /var/www/html/vendor/bin/wp --allow-root cache flush +``` + + ## Deployment TODO...