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
Copy file name to clipboardExpand all lines: README.md
+21Lines changed: 21 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,27 @@ Point `www.opensourcerisk.org` to GitHub Pages by updating your DNS records:
22
22
23
23
Once DNS has propagated and the site is confirmed live, decommission the old WordPress server.
24
24
25
+
## Testing locally
26
+
27
+
The site is plain static HTML — just serve the repo root with any local HTTP server. **Do not open `index.html` directly in a browser** (file:// breaks root-relative links like `/wp-content/...`).
28
+
29
+
**Option 1 — Python (no install needed):**
30
+
```bash
31
+
python3 -m http.server 8000
32
+
```
33
+
34
+
**Option 2 — Node.js (`npx`, no install needed):**
35
+
```bash
36
+
npx serve .
37
+
```
38
+
39
+
**Option 3 — Ruby (if you have it):**
40
+
```bash
41
+
ruby -run -e httpd . -p 8000
42
+
```
43
+
44
+
Then open [http://localhost:8000](http://localhost:8000) in your browser.
0 commit comments