Skip to content

tech-and-avinash/wp-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

README

Introduction

This guide provides instructions for setting up a local WordPress development environment using Docker. It includes a MariaDB database, phpMyAdmin for database management, and WordPress. The setup uses Docker Compose for easy configuration and management.

Prerequisites

  • Docker Desktop (version 4.26.1 recommended for compatibility)
  • Docker Compose

Setup Instructions

Step 1: Clone the Repository

First, clone the repository containing the Docker Compose configuration:

git clone <repository-url>
cd <repository-directory>

Step 2: Create a .env File

Create a .env file in the root directory of your project with the following properties. Replace <something> with your actual values:

MYSQL_DATABASE=<something>
MYSQL_USER=<something>
MYSQL_PASSWORD=<something>
MYSQL_ROOT_PASSWORD=<something>

Step 3: Run Docker Compose

Run the following command to start the services:

docker-compose up -d

Step 4: Access the Services

Step 5: Stopping the Services

To stop the services, run:

docker-compose down

Additional Resources

For a video walkthrough of this setup, you can refer to the following video: YouTube Video.

Troubleshooting

If you encounter issues, ensure you are using Docker Desktop version 4.26.1 as newer versions might have compatibility issues. Refer to the provided video for additional troubleshooting tips.

Conclusion

This guide should help you set up a local WordPress development environment using Docker. If you have any questions or need further assistance, please refer to the resources provided or seek help from the Docker and WordPress communities.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published