Write a plugin or theme for the latest WordPress
This is the minimal setup you need to get a local WordPress development environment up and running quickly.
The current version is 0.0.0. This project uses semantic versioning.
- Based on WordPress on 6.9 and PHP 8.3
- Quick Setup of a new WordPress Environment
- Language Translations
- Frequently Asked Questions (FAQ)
- Screenshots
- Submit Issues
- Run
docker compose up -dto start your containers - Run
docker compose downto stop your containers and keep your data - Run
docker compose down -vto stop your containers and destroy your data
The WP-CLI interface has been added to the compose.yaml file. This makes it easier to administer a WordPress install.
The service name wpcli is needed to direct your commands to the right place.
The rest of the command is passed to WP-CLI for processing.
Retrieve a list of all plugins, and show their status.
$ docker compose run --rm wpcli plugin listShow the version info and program install locations.
$ docker compose run --rm wpcli --infoShow the web address (URL) of your website. Note: In a docker environment, the
wpcli admin command isn't useful, since it can't open the browser on your
host. Instead, use this command to print the siteurl value, and copy/paste it
into your browser.
docker compose run --rm wpcli option get siteurlThe media-sizes package has been installed for your convenience. You may want
to browse the available packages to see what else interests you.
docker compose run --rm wpcli media sizesUse the mkplugin.bash script to simplify creation of new plugins
Check out a list of WP-CLI commands to see what it can do. Review the WP-CLI Handbook for access to additional resources.
- Clone this repo
- Run
docker compose up -d - Access the site at
http://localhost:8080 - Complete the standard WordPress Install process
- Create a Git Ignore file
- Add the phpdocs directory to your .gitignore file
- Add Editor-specific files to your .gitignore ( .swp for Vim, .idea for PHPStorm, etc. )
- Select an Open Source License and copy it to LICENSE.txt
- Update CONTRIBUTING.md to match your project needs
- Semantic Versioning
- GitHub Markdown
- Contributing Guidelines
- Changelog
- Humans TXT
- Robots TXT
- Git Ignore Generator
- Open Source Licenses
- Project Creator: Andrew Woods