How to Install WordPress Pete on MacOs
sudo -S apachectl stop
sudo -S launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist 2>/dev/null
- Browse to the folder where you want to install WordPress Pete and then clone the project using GIT
cd /Users/yourusername/Sites
git clone https://github.com/peterconsuegra/wordpress-pete-docker.git
- Run the docker application and then run the following commands from the terminal:
For M1 chip mac:cd /Users/yourusername/Sites/wordpress-pete-docker
docker-compose -f mac_m1.yml up --build
For Intel mac:cd /Users/yourusername/Sites/wordpress-pete-docker
docker-compose -f mac.yml up --build
- Wait until the docker build command finishes
- open: http://pete.petelocal.net/
Check the installation video for macOS:
Access to apache container console:
For M1 chip mac:cd /Users/yourusername/Sites/wordpress-pete-docker
docker-compose -f mac_m1.yml exec apache /bin/sh
For Intel mac:cd /Users/yourusername/Sites/wordpress-pete-docker
docker-compose -f mac.yml exec apache /bin/sh
Access to mariadb container console:
For M1 chip mac:cd /Users/yourusername/Sites/wordpress-pete-docker
docker-compose -f mac_m1.yml exec mariadb /bin/sh
For Intel mac:cd /Users/yourusername/Sites/wordpress-pete-docker
docker-compose -f mac.yml exec mariadb /bin/sh
Stop docker containers:
For M1 chip mac:cd /Users/yourusername/Sites/wordpress-pete-docker
docker-compose -f mac_m1.yml down
For Intel mac:cd /Users/yourusername/Sites/wordpress-pete-docker
docker-compose -f mac.yml down
WordPress Pete Docker Settings:
Supported PHP versions: 7.2, 7.3, 7.4
To see more please go to the: WIKI