8000 portal/README.md at fix/jenkins · hlminh2000/portal · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 1.52 KB

README.md

File metadata and controls

51 lines (35 loc) · 1.52 KB

HCMI Portal

Migrations

First time setup will require variants being loaded into mongo via a migration in the cms/variant-migrations folder. Migrations require the global installation of the migrate-mongo package, npm i -g migrate-mongo. for more information visit https://www.npmjs.com/package/migrate-mongo.

To run the required migrations:

cd cms/variant-migrations
migrate-mongo up

Quickstart

# install
make

# start api
PORT=<> yarn api

# start ui
SKIP_PREFLIGHT_CHECK=true yarn ui

# example api prod start command
ES_URL=http://es.hcmi.cancercollaboratory.org:9200 cd api && pm2 start npm --name api -- run start

# Print elasticsearch mapping
yarn mapping <data_model> --name model

# Create and populate elasticsearch index from mapping
# --host defaults to localhost:9200
yarn fake <data_model> --length 10000 --index model --type model --host <es_uri>

Specs

https://wiki.oicr.on.ca/display/HCMI/HCMI+Spec+Guide

API Tech

UI Tech

0