Skip to content

Commit 559d864

Browse files
Add files via upload
1 parent e106cd6 commit 559d864

File tree

4 files changed

+4948
-3
lines changed

4 files changed

+4948
-3
lines changed

README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ Interactive web UI for experimenting with the Law of Conservation of Blockspace
44
`cred10.tex`. It exposes the key variables—efficiency coefficient rho, usable window `W'`, and
55
per-user enforcement weight `e`—and visualizes the lower bound on simultaneous unilateral exits.
66

7-
<img width="1350" height="1129" alt="image" src="https://github.com/user-attachments/assets/46021af6-72fb-4909-a459-6a73e07411a3" />
8-
97
## Features
108

119
- Preset scenarios mirroring the paper (Retail Panic, Quiet Exit, Mixed Economy, Institutional,
@@ -66,3 +64,17 @@ toy should be interpreted as an optimistic (necessary) bound.
6664

6765
- **Share current setup** copies a permalink with the full scenario embedded in the query string.
6866
- **Download JSON** saves `{ scenario, metrics }` for reproducibility or offline calculations.
67+
68+
## Deploying to GitHub Pages
69+
70+
This repo ships with two options:
71+
72+
1. **GitHub Actions (recommended)**
73+
- Push to `main`/`master` and the workflow in `.github/workflows/deploy.yml` will run `npm ci`,
74+
`npm run test -- --run`, `npm run build`, and publish `dist/` to Pages automatically.
75+
- Ensure Pages is enabled in your repo settings (`GitHub Pages → Source → GitHub Actions`).
76+
77+
2. **Manual CLI publish**
78+
- `npm run deploy`
79+
This runs `vite build` (respecting `VITE_BASE`) and uploads `dist/` via `gh-pages`.
80+
- Set `VITE_BASE` when needed: `VITE_BASE=/my-repo npm run deploy`.

0 commit comments

Comments
 (0)