Skip to content

Commit

Permalink
Updated READ.ME
Browse files Browse the repository at this point in the history
  • Loading branch information
vbachele committed Oct 7, 2022
1 parent e7986cc commit 4ce709e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ mysql -uroot -p$MYSQL_ROOT_PASSWORD $MYSQL_DATABASE < /usr/local/bin/wordpress.s
- Your .sql is ready now to be imported
- Step 3: relaunch your docker-compose
- TADA you will be directly in your website by passing the phase of installation
![Wordpress without installation](images/wordpress_page.png)

### Commands to check if all is working
```c
Expand Down Expand Up @@ -307,7 +308,7 @@ redis-server --protected-mode no // To set up redis when you launch your image
- You need to DL the wp-cli and you need to move it it the app directory (/usr/bin/wordpress)
- Add the installation of redis and php-redis

4. **Modify your script on wordpress file**
4. **Modify your script on wordpress file**
*To do this, we can set directly information in the script for wordpress wpcli command*
- Modify the wp-config.php file
- Define the redis Host
Expand All @@ -317,9 +318,9 @@ redis-server --protected-mode no // To set up redis when you launch your image
- Define wp redis client
- Install the redis-cache plugin, updates and enables it

### How to know your redis is installed on wordpress and running
1. **Check redis is properly installed on your redis image**
Launch the command 'redis-cli -h localhost' on your redis image, your should connect to your localhost. Then do ping and the answer should be PONG. Great your redis is installed.
### How to know your redis is installed on wordpress and running
1. **Check redis is properly installed on your redis image**
- Launch the command 'redis-cli -h localhost' on your redis image, your should connect to your localhost. Then do ping and the answer should be PONG. Great your redis is installed.

2. **Check if the plugin is installed on wordpress**
- Go to your wp-admin panel on wordpress : for me it is https://vbachele.42.fr
Expand Down
Binary file added images/wordpress_page.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4ce709e

Please sign in to comment.