MacOs Mac Chip Installation Guide
- Install Docker (If you already have it installed, make sure that Docker is in its latest version)
- Install GIT
- Open terminal
- Stop default apache server in 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:
cd /Users/yourusername/Sites/wordpress-pete-docker
docker-compose -f mac_m1.yml up --build
- Wait until the docker build command finishes
- open: http://pete.petelocal.net/
Access to apache container console:
cd /Users/yourusername/Sites/wordpress-pete-docker
docker-compose -f mac_m1.yml exec apache /bin/sh
Access to mariadb container console:
cd /Users/yourusername/Sites/wordpress-pete-docker
docker-compose -f mac_m1.yml exec mariadb /bin/sh
Stop docker containers:
cd /Users/yourusername/Sites/wordpress-pete-docker
docker-compose -f mac_m1.yml down
WordPress Pete Docker Settings:
Supported PHP versions: 7.4, 8.0, 8.1