Skip to content

whoami-pwd/wpbld

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WPBLD - WordPress Bedrock Local Development

Simple docker compose solution for local development.

Info

  • PHP 7.4

Tools

  • Bedrock
  • Traefik
  • phpMyAdmin
  • Composer
  • MailHog
  • WP-CLI

Requirements

  • mkcert
  • Docker & Docker Compose
  • Bash or WSL

Install and start WordPress

  1. Create your own .env from .env-example
  2. Create certificates make install-certs
  3. Download and run WordPress Bedrock make install-bedrock
  4. Continue with WordPress Core installation make install-core

Available commands

install-certs              Install certificates for the project
install-bedrock            Start WordPress Bedrock Docker configuration
install-core               Install WordPress Core
status                     Show docker status
logs                       Show docker logs
stop                       Stop docker project
stop-clean                 Stop docker project, remove containers, volumes and network
start                      Start docker project
restart                    Restart docker project
uninstall                  Uninstall docker project
rebuild                    Rebuild docker project
wpcli                      Run WP-CLI commands. Put wpcli parameters into $args, e.g. make wpcli args='plugin list --status="active"'
composer                   Run Composer commands
mysql-backup               Backup MySQL Database
mysql-restore              Restore MySQL Database from file, e.g. make mysql-restore mysql-2021-04-02.sql.gz
help                       Generate command list

About

WordPress Bedrock Local Development

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published