Skip to content

Commit

Permalink
Merge pull request #66 from simonsfoundation/ipywidgets-fix
Browse files Browse the repository at this point in the history
fix installation anomalies
  • Loading branch information
AaronWatters committed May 31, 2016
2 parents 6e7f845 + d8aa89d commit 603e427
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ MAINTAINER Aaron Watters <awatters@simonsfoundation.org>
USER main

RUN git clone https://github.com/simonsfoundation/jp_gene_viz.git
RUN cd jp_svg_canvas; pip install -r requirements.txt
RUN cd jp_svg_canvas; python setup.py install
RUN cd jp_gene_viz; pip install -r requirements.txt
RUN cd jp_gene_viz; python setup.py install
RUN jupyter nbextension enable --py --sys-prefix widgetsnbextension
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,31 @@ click the image link below:

[![Binder](http://mybinder.org/badge.svg)](http://mybinder.org/repo/simonsfoundation/jp_gene_viz)

# Installation

The installation requires the Python module `jp_gene_viz` to be installed with its
dependencies and for the wigdets extension to be enabled in Jupyter/IPython.

For example the following sequence completes a first time complete installation

### clone the repository and change directory into the repository folder

```
git clone https://github.com/simonsfoundation/jp_gene_viz.git
cd jp_gene_viz
```

### install the requirements and the module
```
pip install -r requirements.txt
python setup.py install
```

### enable the widgets extension (just in case it isn't already enabled)
```
jupyter nbextension enable --py --sys-prefix widgetsnbextension
```

Note: We are upgrading the repository to work with the latest ipywidgets and iPython
releases. If you have problems installing the package please post an issue at
[https://github.com/simonsfoundation/jp_gene_viz](https://github.com/simonsfoundation/jp_gene_viz).

0 comments on commit 603e427

Please sign in to comment.