Making WordPress.org

Changeset 14753


Ignore:
Timestamp:
03/26/2026 01:20:05 AM (3 months ago)
Author:
dd32
Message:

Add local environment for jobs.wordpress.net.

Closes https://github.com/WordPress/wordpress.org/pull/574

Location:
sites/trunk/environments
Files:
4 added
2 edited

Legend:

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

    r14720 r14753  
    4848```
    4949
     50### Jobs
     51
     52A local instance of jobs.wordpress.net with the JobsWP plugin, theme, sample job categories, and sample job posts.
     53
     54**Start:**
     55
     56```bash
     57npm run jobs:env start
     58```
     59
     60**Access:** `http://localhost:8888`
     61
     62**WP CLI:**
     63
     64```bash
     65npm run jobs:env -- run cli -- wp <command>
     66```
     67
    5068### Handbook (in-plugin)
    5169
     
    6886
    6987```bash
    70 # Stop the environment
     88# Stop an environment (replace plugins with jobs, etc.)
    7189npm run plugins:env stop
     90npm run jobs:env stop
    7291
    73 # Destroy the environment (removes all data)
     92# Destroy an environment (removes all data)
    7493npm run plugins:env destroy
     94npm run jobs:env destroy
    7595
    7696# View logs
    7797npm run plugins:env logs
     98npm run jobs:env logs
    7899```
    79100
  • sites/trunk/environments/package.json

    r14720 r14753  
    99        "plugins:env": "wp-env --config plugin-directory/.wp-env.json",
    1010        "plugins:import": "npm run plugins:env -- run cli -- php wp-content/plugins/plugin-directory/bin/import-plugin.php --create --plugin",
    11         "plugins:refresh": "npm run plugins:env -- run cli -- wp option delete wporg_env_imported && npm run plugins:env -- run cli wp eval-file wp-content/env-bin/import-plugins.php"
     11        "plugins:refresh": "npm run plugins:env -- run cli -- wp option delete wporg_env_imported && npm run plugins:env -- run cli wp eval-file wp-content/env-bin/import-plugins.php",
     12        "jobs:env": "wp-env --config jobs/.wp-env.json"
    1213    },
    1314    "devDependencies": {
Note: See TracChangeset for help on using the changeset viewer.