Windows Installation Guide

  1. Install Windows 10 (Recommended)
  2. Install Docker
  3. Install Windows Terminal
  4. Install GIT
  5. Open Windows Terminal an run the following command:

git config --global core.autocrlf true
(For compatibility, line endings are converted to Unix style when you commit files)

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

6. Run the docker application and then run the following commands from Windows Terminal:

cd \Users\yourusername\Sites\wordpress-pete-docker
docker-compose -f windows.yml up --build

7. Wait until the docker build command finishes

8. open: http://pete.petelocal.net/

Access to apache container console:
cd \Users\yourusername\Sites\wordpress-pete-docker
docker-compose -f windows.yml exec apache /bin/sh

Access to mysql container console:
cd \Users\yourusername\Sites\wordpress-pete-docker
docker-compose -f windows.yml exec mysql /bin/sh

Stop docker:
cd \Users\yourusername\Sites\wordpress-pete-docker
docker-compose -f windows.yml down

WordPress Pete Docker Settings:

Supported PHP versions: 7.4, 8.0, 8.1