You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
npm run serve # Serve production build after `npm run build`
101
102
```
102
103
104
+
### Building/Running Specific Products
105
+
106
+
You can build or run the documentation for a single product using the `DOCS_PRODUCT` environment variable:
107
+
108
+
**Windows (PowerShell):**
109
+
```powershell
110
+
$ENV:DOCS_PRODUCT="pingcastle"
111
+
npm run start
112
+
```
113
+
114
+
**Unix/Linux/macOS:**
115
+
```bash
116
+
export DOCS_PRODUCT="pingcastle"
117
+
npm run start
118
+
```
119
+
120
+
This works with any command (`start`, `start-chok`, `build`) and speeds up development when working on a single product. Available product IDs can be found in `src/config/products.js`.
0 commit comments