You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+52-6
Original file line number
Diff line number
Diff line change
@@ -2,27 +2,73 @@ Iris
2
2
====
3
3
A web application for exploration of biological data
4
4
5
-
DEPENDENCIES
6
-
------------
5
+
EXTERNAL DEPENDENCIES
6
+
---------------------
7
+
The following tools need to be installed separately (e.g., with [Homebrew](http://mxcl.github.com/homebrew/)) before Iris and its dependencies can be installed:
8
+
7
9
* node (nodejs.org)
8
10
* git (git-scm.com)
9
11
* gcc
10
12
* mongodb (mongodb.org)
11
13
14
+
OVERVIEW
15
+
--------
16
+
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.
17
+
18
+
To use the tool, run:
19
+
20
+
source iris.env
21
+
12
22
INSTALLATION
13
23
------------
14
-
$ source iris.env
15
-
$ iris install
24
+
To install Iris, along with its dependencies, run:
25
+
26
+
iris install
27
+
28
+
To check the installation, and execute project tests, run:
29
+
30
+
iris check
31
+
32
+
To install example data used by the demo, run:
33
+
34
+
iris examples
16
35
17
36
CONFIGURATION
18
37
-------------
19
38
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:
20
39
21
-
$ cp conf/services-sample.json conf/services.json
40
+
cp conf/services-sample.json conf/services.json
22
41
23
42
RUNNING IRIS
24
43
------------
25
-
$ iris start
44
+
To start Iris, run:
45
+
46
+
iris start
47
+
48
+
All the services configured in `conf/services.json` are started. Their process IDs and network ports are listed.
49
+
50
+
To stop Iris, run:
51
+
52
+
iris stop
53
+
54
+
To restart Iris, run:
55
+
56
+
iris restart
57
+
58
+
To determine whether Iris and its services are running, run:
59
+
60
+
iris status
61
+
62
+
Each of the above management commands can be run on individual services by supplying the service name as an argument:
63
+
64
+
iris {start,stop,restart,status} <service-name>
65
+
66
+
MORE HELP
67
+
---------
68
+
The `iris` tool has a general and command-specific help facility. To find out more about it, run:
0 commit comments