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 b8357c9 commit 748d44b
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 13 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ Then follow instructions given in `getting started <http://chronqc.readthedocs.i

.. code-block:: shell
#(optional)Run docker again with mounted folder
#(optional)Run docker 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
..
Expand Down
33 changes: 21 additions & 12 deletions docs/chronqc_setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,27 @@ If you would like the development version instead, the command is::
pip install --upgrade --force-reinstall git+https://github.com/nilesh-tawari/ChronQC_dev.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
Then follow instructions given in `getting started <http://chronqc.readthedocs.io/en/latest/run_chronqc.html#generating-chronqc-plots>`__.
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 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
..


Expand Down

0 comments on commit 748d44b

Please sign in to comment.