Add documentation on db import
authorymh <ymh.work@gmail.com>
Mon, 17 Jun 2019 18:09:10 +0200
changeset 27 03b0f48818d7
parent 26 2f63751d1639
child 28 1150866741ec
Add documentation on db import
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...