Skip to content

Files

47 lines (36 loc) · 1.63 KB

README.md

File metadata and controls

47 lines (36 loc) · 1.63 KB

SemNExt-Visualizations

This is a visualization tool to create Suceptibility Windows Ontological Transcriptome (SWOT) Clocks that illustrate the connections between transcriptomes for several thousand available resource sets or user-defined lists of transcriptomes.

Autism Example

Development Instructions

If you are interested in contributing to this project, do the following.

  1. Clone this repository in the usual fashion.
    git clone https://github.com/mpoegel/SemNExT-Visualizations.git
  2. Install the dependencies.
    npm install
    In addition, the TypeScript Compiler, Definitely Typed, and Gulp are required as global dependencies.
    npm install -g typescript tsd gulp
  3. Install the type definitions.
    gulp tsd
  4. Bundle the JavaScript. This will also compile the TypeScript.
    gulp bundle-js
  5. Bundle the CSS.
    gulp bundle-css
  6. Set the app configuration.
// src/config.json
{
  "port": #port_number
}

Now you can run the project by just running gulp. Gulp will automatically recompile and rebundle the TypeScript when any .ts file is changed.

Deployment Instructions

Use the deploy script to easily deploy the application.
deploy [hostname] [password] ['dev', 'production'] [branch] [config file]

There are two deployment strategies defined by default: production, which deploys to /var/www/chem, and dev, which deploys to /var/www/chem-dev.

The only requirements to deploy are node, npm, and forever.js on the target machine and python 2.7 on the host machine.