|
@@ -153,8 +153,10 @@ Try in browser https://site3.wp.fs.al |
|
|
|
|
|
|
|
|
</details> |
|
|
</details> |
|
|
|
|
|
|
|
|
|
|
|
##### 3. Manage a Wordpress site |
|
|
|
|
|
|
|
|
<details> |
|
|
<details> |
|
|
<summary>6. Clone and delete a site</summary> |
|
|
|
|
|
|
|
|
<summary>1. Clone and delete a site</summary> |
|
|
|
|
|
|
|
|
``` |
|
|
``` |
|
|
cd /var/ds/wordpress2/ |
|
|
cd /var/ds/wordpress2/ |
|
@@ -172,7 +174,7 @@ ds site del site4.wp.fs.al |
|
|
</details> |
|
|
</details> |
|
|
|
|
|
|
|
|
<details> |
|
|
<details> |
|
|
<summary>7. Backup and restore a site</summary> |
|
|
|
|
|
|
|
|
<summary>2. Backup and restore a site</summary> |
|
|
|
|
|
|
|
|
``` |
|
|
``` |
|
|
cd /var/ds/wordpress2/ |
|
|
cd /var/ds/wordpress2/ |
|
@@ -199,7 +201,7 @@ Try in browser https://site3.wp.fs.al |
|
|
</details> |
|
|
</details> |
|
|
|
|
|
|
|
|
<details> |
|
|
<details> |
|
|
<summary>8. Using wp-cli</summary> |
|
|
|
|
|
|
|
|
<summary>3. Using wp-cli</summary> |
|
|
|
|
|
|
|
|
``` |
|
|
``` |
|
|
cd /var/ds/wordpress2/ |
|
|
cd /var/ds/wordpress2/ |
|
@@ -214,7 +216,7 @@ ds wp site3.wp.fs.al option get home |
|
|
</details> |
|
|
</details> |
|
|
|
|
|
|
|
|
<details> |
|
|
<details> |
|
|
<summary>9. Working inside the container</summary> |
|
|
|
|
|
|
|
|
<summary>4. Working inside the container</summary> |
|
|
|
|
|
|
|
|
``` |
|
|
``` |
|
|
ds shell |
|
|
ds shell |
|
|