Skip to content
This repository has been archived by the owner on Jan 14, 2022. It is now read-only.

dandi/dandiarchive-legacy

Repository files navigation

dandiarchive ci Netlify Status

The DANDI Archive web client.

Develop

Build and Run

git clone https://github.com/dandi/dandiarchive
cd dandiarchive
yarn install
yarn run serve

The web app will be served at http://localhost:8085/.

This app requires a server component to be useful, which you can run locally; see the instructions) for doing so.

Test

In order to fix the code formatting and check for some common errors, run:

yarn run lint

Schema Migration

The web app uses TypeScript typings (src/types/schema.ts) automatically generated from the dandiset metadata JSON Schema (see https://github.com/dandi/schema). To change the schema version used (and as a result, the types), use the yarn migrate command.

For example, to migrate to schema version 0.5.1, run:

yarn migrate 0.5.1