Skip to content

penqe/nbdc-forked-togovar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TogoVar

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.

Docker

See togovar-docker for details.

Prerequisites

  • ruby 2.7
  • node.js v12.x (LTS)
    • yarn

Configuration

Development

Dotenv for development

# 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

Backend

  1. First install dependencies:

    $ bundle install
  2. Start development server on localhost:3000

    $ rails server

Frontend

  1. First install dependencies:

    $ yarn install
  2. 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Pug 35.6%
  • JavaScript 29.5%
  • Ruby 21.8%
  • Sass 7.1%
  • SCSS 2.9%
  • TypeScript 2.5%
  • Other 0.6%