Warning This project is archived. The Dataset Browser is moved to the Colonial Collections monorepo.
- Node.js version 18
- NPM version 8+
npm install --no-progress
npm run dev
Open http://localhost:3000 with your browser to see the result.
Create the file .env.production.local
in the root and set the endpoint URLs:
SEARCH_PLATFORM_ELASTIC_ENDPOINT_URL=
SEARCH_PLATFORM_SPARQL_ENDPOINT_URL=
Then run:
npm run build
npm run start
docker run --rm -it -v "$PWD":/app -w /app node:18 /bin/bash
docker run --rm -it -v "$PWD":/app -w /app node:18 npm install --no-progress
docker run --rm -it -v "$PWD":/app -w /app -p 3000:3000 node:18 npm run dev
Open http://localhost:3000 with your browser to see the result.
Create the file .env.production.local
in the root and set the endpoint URLs:
SEARCH_PLATFORM_ELASTIC_ENDPOINT_URL=
SEARCH_PLATFORM_SPARQL_ENDPOINT_URL=
Then run:
docker run --rm -it -v "$PWD":/app -w /app node:18 npm run build
docker run --rm -it -v "$PWD":/app -w /app -p 3000:3000 node:18 npm run start
See https://code.visualstudio.com/docs/devcontainers/containers
- Install the Dev Containers extension
- Run the Development Container