TogoVar (NBDC's integrated database of Japanese genomic variation) is a database that has collected and organized genome sequence differences between individuals (variants) in the Japanese population and disease information associated with them.
See togovar-docker for details.
- ruby 2.7
- node.js v12.x (LTS)
- yarn
# Frontend URL
TOGOVAR_FRONTEND_URL=https://togovar-stg.biosciencedbc.jp
# TogoStanza URL instead of relative URL `/stanza`
TOGOVAR_FRONTEND_STANZA_URL=https://togovar-stg.biosciencedbc.jp/stanza
# (Optional) if this is set, it will be passed to all stanzas as `ep`
TOGOVAR_STANZA_SPARQL_URL=https://togovar-stg.biosciencedbc.jp/sparql
# (Optional) if this is set, it will be passed to all stanzas as `sparqlist`
TOGOVAR_STANZA_SPARQLIST_URL=https://togovar-stg.biosciencedbc.jp/sparqlist
# (Optional) if this is set, it will be passed to stanzas that require `search` parameter
TOGOVAR_STANZA_SEARCH_API_URL=https://togovar-stg.biosciencedbc.jp/search
# (Optional) if this is set, it will be passed to stanzas that require `jbrowse` parameter
TOGOVAR_STANZA_JBROWSE_URL=https://togovar-stg.biosciencedbc.jp/jbrowse
-
First install dependencies:
$ bundle install
-
Start development server on
localhost:3000
$ rails server
-
First install dependencies:
$ yarn install
-
Start development server on
localhost:8000
$ yarn start
Other commands
-
Static code analysis for js and css
$ yarn list
-
Start production server
$ start:production
-
Build distribution files
$ yarn build