Changeset 14753
- Timestamp:
- 03/26/2026 01:20:05 AM (3 months ago)
- Location:
- sites/trunk/environments
- Files:
-
- 4 added
- 2 edited
-
README.md (modified) (2 diffs)
-
jobs (added)
-
jobs/.wp-env.json (added)
-
jobs/bin (added)
-
jobs/bin/after-start.sh (added)
-
package.json (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/environments/README.md
r14720 r14753 48 48 ``` 49 49 50 ### Jobs 51 52 A local instance of jobs.wordpress.net with the JobsWP plugin, theme, sample job categories, and sample job posts. 53 54 **Start:** 55 56 ```bash 57 npm run jobs:env start 58 ``` 59 60 **Access:** `http://localhost:8888` 61 62 **WP CLI:** 63 64 ```bash 65 npm run jobs:env -- run cli -- wp <command> 66 ``` 67 50 68 ### Handbook (in-plugin) 51 69 … … 68 86 69 87 ```bash 70 # Stop the environment88 # Stop an environment (replace plugins with jobs, etc.) 71 89 npm run plugins:env stop 90 npm run jobs:env stop 72 91 73 # Destroy theenvironment (removes all data)92 # Destroy an environment (removes all data) 74 93 npm run plugins:env destroy 94 npm run jobs:env destroy 75 95 76 96 # View logs 77 97 npm run plugins:env logs 98 npm run jobs:env logs 78 99 ``` 79 100 -
sites/trunk/environments/package.json
r14720 r14753 9 9 "plugins:env": "wp-env --config plugin-directory/.wp-env.json", 10 10 "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" 12 13 }, 13 14 "devDependencies": {
Note: See TracChangeset
for help on using the changeset viewer.