Giter Club home page Giter Club logo

iris's Introduction

Iris

A web application for exploration of biological data

EXTERNAL DEPENDENCIES

The following tools need to be installed separately (e.g., with Homebrew) before Iris and its dependencies can be installed:

  • node (nodejs.org)
  • git (git-scm.com)
  • gcc
  • mongodb (mongodb.org)

OVERVIEW

Iris is equipped with a command-line tool, quaintly named iris, to manage the project. It can be used to install dependencies, start Iris and it services, monitor Iris, and shut it down.

To use the tool, run:

source iris.env

INSTALLATION

To install Iris, along with its dependencies, run:

iris install

To check the installation, and execute project tests, run:

iris check

To install example data used by the demo, run:

iris examples

CONFIGURATION

Iris services are configured in a simple configuration file in conf/services.json listing an HTTP port, the name of the service, the Node.js control file, and a configuration file. A sample services configuration is available at conf/services-sample.json. To get started:

cp conf/services-sample.json conf/services.json

RUNNING IRIS

To start Iris, run:

iris start

All the services configured in conf/services.json are started. Their process IDs and network ports are listed.

To stop Iris, run:

iris stop

To restart Iris, run:

iris restart

To determine whether Iris and its services are running, run:

iris status

Each of the above management commands can be run on individual services by supplying the service name as an argument:

iris {start,stop,restart,status} <service-name>

MORE HELP

The iris tool has a general and command-specific help facility. To find out more about it, run:

iris help [<command>]

PROJECT STRUCTURE

The Iris server is run out of /nodejs. /nodejs also contains the Express routes (app.js and routes/) and Jade templates (views/).

Client-side rendering code (HTML, CSS, Javascript) is organized under /root. All client-side Javascript is in /root/js. The widgets/ directory contains the widget code, while all utility, administrative, and external scripts (jquery.js, bootstrap) should be placed at the Javascript root.

The Fastbit source code, including pristine and Iris-specific is under the /fastbit directory, but compiled artifacts are placed in folders at the root directory (/bin, /lib, /share, /include).

NOTES

All the conventions above are so far tentative and up for discussion.


Copyright (c) 2012 Ware Lab, Cold Spring Harbor Laboratory

iris's People

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.