Skip to content

libops/sitectl-wp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 for component changes; it updates component-owned files immediately:

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

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.

About

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors