Windows Installation Guide

  1. Install Windows 10 or 11 (Recommended)
  2. Install Docker (If you already have it installed, make sure that Docker is in its latest version)
  3. Run the installer as administrator

Disable the WSL option to run in HyperV mode

4. Install GIT

5. Install Windows Terminal

6. 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)

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

8. Run the docker application and then run the following commands from Windows Terminal (you need to have docker open before running this command):

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

9. Wait until the docker build command finishes

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

×