@galaxyproject/openlayers
v0.0.9
Published
Galaxy OpenLayers is a visualization that implements features of [OL10](https://github.com/openlayers) within [Galaxy Charts](https://galaxyproject.github.io/galaxy-charts/) JavaScript-based library for the [Galaxy Project](https://github.com/galaxyprojec
Readme
Galaxy OpenLayers
Galaxy OpenLayers is a visualization that implements features of OL10 within Galaxy Charts JavaScript-based library for the Galaxy Project platform.
Make Targets
Run all commands from packages/openlayers.
make depsinstalls package dependencies with npm.make deps-updatebumps dependencies to the latest releases tracked inpackage.jsonandpackage-lock.json.make testruns the Vitest unit tests followed by the Playwright e2e tests.make test-unitruns only the Vitest unit tests.make test-e2eruns only the Playwright e2e tests (requiresmake devrunning in another terminal).make test-e2e-updateregenerates the Playwright snapshot baselines undertest-data/.make buildbuilds the production bundle intostatic/.make checkruns tests and then builds.make devstarts the Vite dev server.
Local Dev
make dev runs the Vite dev server. With no arguments it serves the visualization with a __test__ dataset id, which Plugin.vue resolves to a sample GeoJSON file (http://cdn.jsdelivr.net/gh/galaxyproject/galaxy-test-data/1.geojson) so you can iterate without a running Galaxy.
cd packages/openlayers
make devTo test against a real Galaxy dataset, pass GALAXY_DATASET_ID (and optionally GALAXY_ROOT / GALAXY_KEY):
make dev GALAXY_DATASET_ID=<dataset-id>
make dev GALAXY_DATASET_ID=<dataset-id> GALAXY_ROOT=http://127.0.0.1:8080
make dev GALAXY_DATASET_ID=<dataset-id> GALAXY_ROOT=https://usegalaxy.org GALAXY_KEY=<api-key>