8000 GitHub - hlminh2000/portal at change_header_text · GitHub
[go: up one dir, main page]

Skip to content

About

No description, website, or topics provided.

Resources

Contributing

Stars

0 stars

Watchers

1 watching

Forks

 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Contributing

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0