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

Latest commit

 

History

History
33 lines (23 loc) · 1.1 KB

README.md

File metadata and controls

33 lines (23 loc) · 1.1 KB

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