MacOs Mac Chip Installation Guide

  1. Install Docker (If you already have it installed, make sure that Docker is in its latest version)
  2. Install GIT
  3. Open terminal
  4. 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

  1. 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

  1. 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

  1. Wait until the docker build command finishes
  2. 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

×