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.
If you are interested in contributing to this project, do the following.
- Clone this repository in the usual fashion.
git clone https://github.com/mpoegel/SemNExT-Visualizations.git
- 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
- Install the type definitions.
gulp tsd
- Bundle the JavaScript. This will also compile the TypeScript.
gulp bundle-js
- Bundle the CSS.
gulp bundle-css
- 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.
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.