https://github.com/hunterashaw/wordpress-env
A starting place for local Wordpress theme/plugin development.
https://github.com/hunterashaw/wordpress-env
wordpress wordpress-boilerplate wordpress-development
Last synced: about 1 month ago
JSON representation
A starting place for local Wordpress theme/plugin development.
- Host: GitHub
- URL: https://github.com/hunterashaw/wordpress-env
- Owner: hunterashaw
- Created: 2023-01-28T18:06:17.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-28T18:28:51.000Z (over 3 years ago)
- Last Synced: 2025-02-26T17:48:23.634Z (over 1 year ago)
- Topics: wordpress, wordpress-boilerplate, wordpress-development
- Language: PHP
- Homepage:
- Size: 33.2 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Wordpress Development Environment
A starting place for local Wordpress theme/plugin development.
## Features
- Fully dockerized & repeatable.
- Properly supports custom port (no redirect issues).
- Uses [SQLite plugin](https://github.com/aaemnnosttv/wp-sqlite-db) for faster startup & load times.
- Only exposes `/wp-content` folder for more focused development.
## Prerequisites
- [Docker](https://www.docker.com/products/docker-desktop/)
## Setup
1. Clone the codebase (excluding the repository):
```
git clone https://github.com/hunterashaw/wordpress-env.git . && rm -rf .git
```
2. Duplicate `example.env` as `.env`
## Startup
1. Run:
```
docker-compose up
```
2. Go to http://localhost:3000
## To change port:
1. Edit `docker-compose.yml` file to replace all occurances of default port `3000` with desired port.
2. Re-build container by running:
```
docker-compose build --no-cache
```