Skip to content

Local WordPress environment for development #66

@builderpepc

Description

@builderpepc

Goal

Configure a local WordPress instance that can be instantly launched by developers for the purpose of experimenting with WordPress and testing WordPress-related features locally instead of with the production server.

Implementation Strategy

  • Use one of several official or unofficial WordPress tools to run a WordPress instance locally
    • wp-now - deprecated, but very easy to set up and launch, and stores instance state persistently
    • wordpress-playground - actively supported, but runs strictly in the browser using WASM
    • wp-env - runs in a Docker container with minimal configuration
    • LocalWP - free and convenient, but less developer-oriented
  • Set up a blueprint that configures all necessary plugins (refer to the Faust.js tutorial) and also somehow clones the NEFAC WordPress instance content
    • Perhaps we could just clone the entire instance (plugins included) and have the blueprint reconfigure the plugins as needed
  • Use a plugin or some other method to be able to export/import individual pages so we can create drafts and upload them to the production site individually as they are approved by the client

Depending on the chosen local WordPress tool, a Docker container may be required. wp-env seems like the best option, and would only require a Docker Desktop installation. It would run in its own isolated environment and would be persistent unless reset.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions