sitectl-wp

command module
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 29, 2026 License: MIT Imports: 3 Imported by: 0

README

sitectl-wp

sitectl-wp simplifies the creation and operation of repositories created using the LibOps WordPress template. It provides sitectl commands for WP-CLI, Composer, plugin and theme maintenance, database work, validation, and health checks.

Documentation: https://sitectl.libops.io/plugins/wordpress

Requirements

  • sitectl.
  • Docker with the Compose v2 plugin for local WordPress sites.
  • No additional app-plugin dependency beyond core sitectl.

Quick Start

Create a local WordPress site from the matching template:

sitectl create wp/default \
  --template-repo https://github.com/libops/wp \
  --path ./my-wordpress-site \
  --type local \
  --checkout-source template \
  --default-context

The template README is at https://github.com/libops/wp.

Basic Operations

Use sitectl compose to start or inspect the stack:

sitectl compose up --remove-orphans -d

Use sitectl healthcheck and sitectl validate to check the site:

sitectl healthcheck
sitectl validate

Use sitectl image for local image or build-arg overrides:

sitectl image set --tag wp=nginx-1.30.3-php84

Use sitectl set and sitectl converge for component changes:

sitectl set ingress enabled --mode https-default --domain wordpress.localhost
sitectl set ingress enabled --trusted-ip 203.0.113.10/32 --max-upload-size 2G --upload-timeout 10m
sitectl converge

See the WordPress plugin docs for WP-CLI, Composer, plugin/theme maintenance, lifecycle operations, and database helpers.

License

sitectl-wp is licensed under the MIT License.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL