Skip to content

threeport/wordpress-threeport-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WordPress Threeport Module

A reference implementation for extending Threeport.

This project demonstrates how to use the Threeport SDK to build modules for Threeport. See the Threeport Docs for a tutorial that provides step-by-step instructions on how to build this module.

Quickstart

If you already have the Threeport CLI installed, you can install the plugin for this WordPress module as follows.

  1. Clone this repo.

  2. Build the plugin binary. Requires mage.

    mage build:plugin
  3. Install the plugin binary.

    cp bin/wordpress ~/.threeport/plugins/
  4. View the usage info for the plugin.

    tptctl wordpress -h

If you have a local Threeport control plane running, you can install an instance of Wordpress as follows.

  1. Create a local container registry.

    mage dev:localRegistryUp
  2. Build and push the WordPress modules control plane components to the local registry.

    mage build:allImagesDev
  3. Install this module's control plane components.

    tptctl wordpress install -r localhost:5001
  4. Install an instance of the WordPress app.

    tptctl wordpress create wordpress -c samples/wordpress.yaml

Clean up with the following steps.

  1. Remove the WordPress app.

    tptctl wordpress delete wordpress -c samples/wordpress.yaml
  2. Remove the local container registry.

    mage dev:localRegistryDown

About

A custom Threeport module for WordPress workloads

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors