Closed OyvindLGjesdal closed 4 weeks ago
I normally have IntelliJ with Jena (for Java changes), where I launch FusekiCmd
.
And I have the jena-fuseki-ui
open as a JS project in WebStorm, where I launch yarn run dev
.
That starts a proxy at http://localhost:8080/ in yarn
+ vite
, proxying requests to static files to go to the generated dev version of jena-fuseki-ui (i.e. if you modify the files I think it auto-reloads and refreshes the browser via websockets). Requests that are not to static files (e.g. /$/some-fuseki-endpoint
) will be proxied to the 0.0.0.0:3030
address by default, which should find the Jena Fuseki executed with FusekiCmd
.
serve:fuseki
is a fake Fuseki backend with responses saved from a real instance, this is used for prototyping new UI components, and for e2e tests.
This should be documented in jena-fuseki-ui/README.md.
Hope that helps.
Thank you @kinow this is super useful, hope to get to try it out during the weekend.
I have a working dev set up for working with the UI after following your instructions, and managed to debug live, with updates reloading. Thanks again 💯
Awesome! Thanks for updating the issue, @OyvindLGjesdal !
Version
5.1.0-SNAPSHOT (1ddfdf1cca35f0984644ef9b12e4c3ebb8ad4a4d)
Question
I'm not sure how to run jena-fuseki from IntelliJ when doing changes to the jena-fuseki-ui.
What I have, runs a test server locally, but my changes to jena-fuseki-ui doesn't seem to pick up my local changes.
I also didn't see it mentioned in the docs, but thought the fuseki-dev script looked liked it could be what I was looking for:
I checked out the documentation for working with eclipse, but it seemed a bit dated, and I didn't manage to get anything running after reading it. Would be grateful for any pointers.
Tested also
yarn server fuseki
but I thought that the functionality to test would necessarily not be available when running with mocks for part of the functionality.