Making WordPress.org

Changeset 14938


Ignore:
Timestamp:
06/04/2026 01:25:59 PM (11 days ago)
Author:
paulkevan
Message:

Environments: Add Browse Happy wp-env local development environment.

Adds a wp-env configuration for the Browse Happy site
(https://browsehappy.com), including an after-start script that sets the
site title and description and activates the theme, plus a documentation
entry and a browsehappy:env npm script.

Props JamieBradders.

Location:
sites/trunk/environments
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/environments/README.md

    r14937 r14938  
    7272```
    7373
     74### Browse Happy
     75
     76A local instance of [browsehappy.com](https://browsehappy.com) with the theme.
     77
     78**Start:**
     79
     80```bash
     81npm run browsehappy:env start
     82```
     83
     84**Access:** `http://localhost:8888`
     85
    7486### Translate
    7587
  • sites/trunk/environments/package.json

    r14937 r14938  
    1313        "plugins:test": "npm run plugins:test:env -- start && npm run plugins:test:env -- run tests-cli --env-cwd=wp-content/plugins/plugin-directory phpunit",
    1414        "jobs:env": "wp-env --config jobs/.wp-env.json",
     15        "browsehappy:env": "wp-env --config browsehappy/.wp-env.json",
    1516        "translate:env": "wp-env --config translate/.wp-env.json",
    1617        "translate:import": "npm run translate:env -- run cli -- wp eval-file wp-content/env-bin/import-from-wporg.php",
Note: See TracChangeset for help on using the changeset viewer.