dandi / dandiarchive-legacy

Code for the DANDI Web app

Home Page:https://dandiarchive.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Code for the DANDI Web app

https://dandiarchive.org

License:Apache License 2.0


Languages

Language:Vue 64.5%Language:TypeScript 24.0%Language:JavaScript 11.1%Language:HTML 0.4%