Skip to main content

WordPress Docker project generator

Project description

WP Docker CLI – WordPress + Docker Project Generator

wp-docker is a cross-platform CLI tool that generates a fully configured WordPress + Docker development environment in seconds.

It automatically:

  • Creates a new project directory
  • Generates .env with random free ports
  • Downloads the latest WordPress
  • Installs and activates a custom theme
  • Generates secure WordPress salts
  • Prepares Docker + phpMyAdmin

Requirements

macOS / Linux

  • Python 3.9+
  • Docker + Docker Compose
  • Git

Windows

  • Python 3.9+
  • Docker Desktop (with WSL2 enabled)
  • Git

Verify:

python3 --version
docker --version
git --version

Installation

macOS / Linux

python3 -m pip install --upgrade pip
python3 -m pip install wp-docker

If pip is not found:

python3 -m ensurepip --upgrade

Windows (PowerShell)

python -m pip install --upgrade pip
python -m pip install wp-docker

Usage

Create a new project:

wp-docker init "My WordPress Project"

Access URLs

After installation:

Service URL
WordPress http://localhost:PORT
phpMyAdmin http://localhost:PORT

Docker Management

Start containers:

make up

Stop containers:

make down

View logs:

docker compose logs -f

Uninstall

python3 -m pip uninstall wp-docker

License

MIT License


Author

Created by Jacek Labudda

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wp_docker-0.1.8.tar.gz (1.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wp_docker-0.1.8-py3-none-any.whl (1.6 MB view details)

Uploaded Python 3

File details

Details for the file wp_docker-0.1.8.tar.gz.

File metadata

  • Download URL: wp_docker-0.1.8.tar.gz
  • Upload date:
  • Size: 1.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for wp_docker-0.1.8.tar.gz
Algorithm Hash digest
SHA256 a0cfcae9aaf59953a242cb14227b3fa00208517735580a6649dc980f61f47813
MD5 37f440b3c14bf9d6e03c02f44a7c1e46
BLAKE2b-256 9160f56a79b17a4c35289cd2b63148d557c412ec7e28b53420e083065feec67d

See more details on using hashes here.

File details

Details for the file wp_docker-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: wp_docker-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for wp_docker-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 37263428ad3683630c82650bfa53734c385bd42cb13c64dbeed1f0ff46790b42
MD5 036f2a60e6f53251fb3e11ce2943496c
BLAKE2b-256 90a0279c82632c3a57fd1a93e3a13cbab970fd77dfeaa0dd51fafd4174600a99

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page