-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
This page walks you through getting solid.drive running: locally for development, as a production build, or via Docker.
-
Node.js >= 18: nodejs.org
-
A Solid Pod and WebID: see Get a Solid Pod below
solid.drive does not manage your identity; you need a Solid Pod from one of the community providers. After registering you receive a WebID (your Solid identity URI) and a Pod storage root (where your files live).
| Provider | Sign-up | Notes |
|---|---|---|
Recommended for local development and testing |
||
Reliable alternative community server |
||
Do not use with localhost. Blocks OIDC redirects to local URIs |
Example identifiers after registration:
-
Pod storage root:
https://yourname.solidcommunity.net/
git clone https://github.com/WSE-research/Solid-Hello-World-Frontend-React.git
cd Solid-Hello-World-Frontend-React
npm install
npm run devThe dev server starts at http://localhost:5173.
|
❗
|
inrupt.net rejects OIDC redirect URIs pointing to localhost. Use solidcommunity.net or solidweb.org when running locally.
|
npm run build # type-check, extract TBox, and bundle
npm run preview # serve /dist locally to verify the output# Pull and run the published image
docker run -p 3000:80 {docker-image}The app is served at http://localhost:3000.
The image uses a two-stage build: Node 20 compiles the application, then nginx serves the static files on port 80.
To build the image locally instead:
docker build -t solid-drive .
docker run -p 3000:80 solid-drive| Command | Purpose |
|---|---|
|
Extract TBox and start the Vite dev server |
|
Extract TBox, type-check, and produce a production bundle |
|
Serve the |
|
Run the full test suite once |
|
Run tests in watch mode |
|
Run tests and produce a coverage report |
|
Run ESLint across the source |
|
Recompile ShEx shapes to TypeScript bindings in |
|
Re-fetch SHACL shapes from datashapes.org and rewrite |
|
ℹ️
|
npm run dev and npm run build run tbox:extract automatically.
Use build:ldo and tbox:extract manually only after editing .shapes/ files or when the upstream ontology changes.
|