Currently hosted at https://ld4p.github.io/graph-editor/
The app runs entirely in the browser, so running it locally just means starting the Vite dev server. There's no backend.
npm install
npm run devThen open the URL Vite prints (usually http://localhost:5173/). The site is served from /
locally, and BASE_PATH is only set for the GitHub Pages deploy.
The RDF engine (public/py/rdf_service.py) runs in Pyodide via
PyScript. On the first load, the browser downloads Pyodide and the
rdflib and pyshacl packages listed in public/py/pyscript.toml. That first load takes a few
seconds and needs a network connection. Local Python isn't used for this part.
These test the RDF logic directly, without a browser. You'll need uv installed:
uv run pytestuv reads the Python version from .python-version and installs the dependencies in
pyproject.toml on the first run.
npm test: run the TypeScript tests (Vitest)npm run build: type-check and build for production intodist/npm run preview: serve the production build locally