dandi / dandiarchive-legacy

Code for the DANDI Web app
https://dandiarchive.org
Apache License 2.0
9 stars 9 forks source link
brainweb dandiset-browser metadata-editor neurophysiological-data

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