A WordPress template that uses Docker for running locally.
This repo uses a pseudo-monorepo structure:
.
├─ .database/ <-- When run, this will be populated with the MySQL files at /var/lib/mysql.
│ └── ...
├─ .public/ <-- When run, this will be populated with the WordPress files at /var/www/html.
│ └── ...
├── .editorconfig <-- Editor configuration file.
├── commitlint.config.mjs <-- Commitlint configuration.
├── compose.yaml <-- Docker Compose configuration.
├── CONTRIBUTING.md <-- Guidelines for contributing to the project.
├── LICENSE
├── Makefile <-- Scripts.
├── README.md
└── ...
With Docker and Docker Compose installed, you can run the following command:
make startThis will start the containers and populate the .database and .public directories with the WordPress and MySQL files respectively.
| Command | Description |
|---|---|
make install |
Installs development tools such as commitlint, and sets up git hooks. |
make start |
Starts the Docker containers for WordPress and the MySQL database. |
Please read the contributing guide to learn about the development process.
Please refer to the LICENSE file.