equal
deleted
inserted
replaced
76 If needed do a search replace after this to update the site urls: |
76 If needed do a search replace after this to update the site urls: |
77 |
77 |
78 ``` |
78 ``` |
79 $ docker-compose exec wp /var/www/html/vendor/bin/wp --allow-root search-replace https://recherchecontributive.org http://recherchecontributive.test:8080 |
79 $ docker-compose exec wp /var/www/html/vendor/bin/wp --allow-root search-replace https://recherchecontributive.org http://recherchecontributive.test:8080 |
80 ``` |
80 ``` |
|
81 Set the template root |
|
82 ``` |
|
83 $ 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" |
|
84 ``` |
|
85 |
|
86 delete options |
|
87 ``` |
|
88 $ docker-compose exec -T wp /var/www/html/vendor/bin/wp --allow-root option delete _site_transient_update_themes |
|
89 ``` |
|
90 ``` |
|
91 $ docker-compose exec -T wp /var/www/html/vendor/bin/wp --allow-root option delete _site_transient_theme_roots |
|
92 ``` |
|
93 |
81 |
94 |
82 Or change the administration password |
95 Or change the administration password |
83 ``` |
96 ``` |
84 $ docker-compose exec -T wp /var/www/html/vendor/bin/wp --allow-root user update admin --prompt=user_pass |
97 $ docker-compose exec -T wp /var/www/html/vendor/bin/wp --allow-root user update admin --prompt=user_pass |
85 ``` |
98 ``` |
|
99 |
|
100 Flush cache |
|
101 ``` |
|
102 $ docker-compose exec -T wp /var/www/html/vendor/bin/wp --allow-root cache flush |
|
103 ``` |
|
104 |
86 |
105 |
87 ## Deployment |
106 ## Deployment |
88 |
107 |
89 TODO... |
108 TODO... |
90 |
109 |