Fix/Update README.md #15
@@ -17,7 +17,7 @@ mkdir -p local-development/domain.tld
 | 
				
			|||||||
cd local-development/domain.tld
 | 
					cd local-development/domain.tld
 | 
				
			||||||
mkdir user
 | 
					mkdir user
 | 
				
			||||||
mkdir -p user/logs/{apache,system}
 | 
					mkdir -p user/logs/{apache,system}
 | 
				
			||||||
docker run -d -it -p 80:80 -p 443:443 -e PHPVER=81 -e environment=DEV --mount type=bind,source="$(pwd)"/user,target=/home/myuser --mount type=bind,source="$(pwd)"/user/logs/apache,target=/etc/httpd/logs --mount type=bind,source="$(pwd)"/user/logs/system,target=/var/log -v"$name-mysql":/var/lib/mysql -e uid=30001 -e user=myuser -e domain=domain.tld -e serveralias=www.domain.tld --name local-dev  repo.anhonesthost.net/cloud-hosting-platform/cac:latest
 | 
					docker run -d -it -p 80:80 -p 443:443 -e PHPVER=82 -e environment=DEV --mount type=bind,source="$(pwd)"/user,target=/home/myuser -v"$name-mysql":/var/lib/mysql -e uid=30001 -e user=myuser -e domain=localhost --name local-dev  repo.anhonesthost.net/cloud-hosting-platform/cac:latest
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
*This will start the processes needed to run sites locally.*
 | 
					*This will start the processes needed to run sites locally.*
 | 
				
			||||||
@@ -33,7 +33,7 @@ docker exec -it local-dev /bin/bash
 | 
				
			|||||||
__To install WordPress for your site__  
 | 
					__To install WordPress for your site__  
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```console
 | 
					```console
 | 
				
			||||||
cat /var/lib/mysql/creds
 | 
					cat cat /home/myuser/mysql_creds
 | 
				
			||||||
su - myuser
 | 
					su - myuser
 | 
				
			||||||
cd ~/public_html
 | 
					cd ~/public_html
 | 
				
			||||||
wp core download
 | 
					wp core download
 | 
				
			||||||
@@ -41,13 +41,13 @@ wp core download
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
You should be able to then go into your browser and go to  https://localhost (accept the SSL warning if it appears) and follow the prompts to setup the site.
 | 
					You should be able to then go into your browser and go to  https://localhost (accept the SSL warning if it appears) and follow the prompts to setup the site.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
The database credentials are shown in the /home/```$user```/mysql_creds file, which we had *cat* in the commands above.  They will also be stored in your user directory.
 | 
					The database credentials are shown in the /home/```$user```/mysql_creds file, which we had *cat* in the commands above.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### PHPVER ###  
 | 
					### PHPVER ###  
 | 
				
			||||||
*74* - PHP 7.4  
 | 
					*74* - PHP 7.4  
 | 
				
			||||||
*80* - PHP 8.0  
 | 
					*80* - PHP 8.0  
 | 
				
			||||||
*81* - PHP 8.1  
 | 
					*81* - PHP 8.1  
 | 
				
			||||||
*82* - PHP 8.2
 | 
					*82* - PHP 8.2 
 | 
				
			||||||
*83* - PHP 8.3    
 | 
					*83* - PHP 8.3    
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### Environment Variables ###  
 | 
					### Environment Variables ###  
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user