This repository provide an easy setup for wordpress local enviroments running with mysql.
In few seconds you'll have an environment ready to develop ๐
- Clone this repo and replace the credentials on
docker-compose.yml
andsetup.sh
(if you judge this necessary). - Navigate through the project folder on your computer and type
docker-compose up -d
This command will magically download all the necessary things to your project including the latest Wordpress version available ๐ฅ
Also this will create a database called wordpress feel free to change the name as mentioned on the first step.
After that just hit http://localhost:8080/
on your browser and happy code ๐
docker-compose rm -sf
Remove all containers.
docker-compose up --build --force-recreate
Forces the containers recreation.
docker exec -it {container-name} bash
Access the container files.