Skip to content

Commit

Permalink
added docker
Browse files Browse the repository at this point in the history
  • Loading branch information
nilesh-tawari committed Nov 3, 2017
1 parent 9d9d2b0 commit d14bfc5
Showing 1 changed file with 21 additions and 11 deletions.
32 changes: 21 additions & 11 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -89,18 +89,28 @@ If you would like the development version instead, the command is::

pip install --upgrade --force-reinstall git+https://github.com/nilesh-tawari/ChronQC.git

Alternatively, ChronQC can also be used as `Docker <https://hub.docker.com/r/nileshtawari/chronqc/>`__.::

#Pull docker image
docker pull nileshtawari/chronqc:chronqc_1.0.3
#Run docker
docker run -it --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix nileshtawari/chronqc:chronqc_1.0.3
#Test ChronQC using example data
cd /home/ChronQC
Alternatively, ChronQC can also be used as `Docker <https://hub.docker.com/r/nileshtawari/chronqc/>`__.

.. code-block:: shell
#Pull docker image
docker pull nileshtawari/chronqc:chronqc_1.0.3
#Run docker
docker run -it --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix nileshtawari/chronqc:chronqc_1.0.3
#Test ChronQC using example data
cd /home/ChronQC
..
Then follow instructions given in `getting started <http://chronqc.readthedocs.io/en/latest/run_chronqc.html#generating-chronqc-plots>`__.

.. code-block:: shell
#(optional)Run docker again with mounted folder
docker run -it --rm -e DISPLAY=$DISPLAY -u $(id -u) -v /tmp/.X11-unix:/tmp/.X11-unix -v /your_local_home_directory/your_data_directory:/data2 nileshtawari/chronqc:chronqc_1.0.3
..
Then follow instructions given in `getting started <http://chronqc.readthedocs.io/en/latest/run_chronqc.html#generating-chronqc-plots>`__.


Automation
==========
Expand Down

0 comments on commit d14bfc5

Please sign in to comment.