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.5.tar.gz (814.2 kB 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.5-py3-none-any.whl (823.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wp_docker-0.1.5.tar.gz
  • Upload date:
  • Size: 814.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for wp_docker-0.1.5.tar.gz
Algorithm Hash digest
SHA256 5f494604cf97e185a100aa45ff329685afabd0eb60a3dd86555f47f354de95d9
MD5 326b69aa9dac42674cdedf9eaef630e9
BLAKE2b-256 e47941c3f3bf538b66e17af1b6ba64849a31561992b27dd1f0c8a1d6bb044a18

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wp_docker-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 823.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for wp_docker-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 2341b3757b953492f08a13f1bf6a2f2a0f35fe8e9da32b6ecf3918edcb226987
MD5 3b8e0cbf6490c6d6c3a80d0c82dcab71
BLAKE2b-256 71d9465aa30cad27457148800c12ce3b879ba2e25fee7ec996ecd302349cdbef

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