Skip to content
Permalink
Browse files

Setup notebook to run with au_notebook as a library; resolves #50 (#52)

* Setup notebook to run with au_notebook as a library; resolves #50

- Update Dockerfile
- Update README
- Update notebook to use au_notebook library
- Remove library
  • Loading branch information...
ruebot authored and ianmilligan1 committed Apr 15, 2019
1 parent 4b8938b commit e5f78a4425e90cb88196e609a52af48680d47919
Showing with 18 additions and 321 deletions.
  1. +1 −2 Dockerfile
  2. +1 −0 README.md
  3. +13 −13 auk-notebook.ipynb
  4. +0 −304 aunb.py
  5. +3 −2 requirements.txt
@@ -9,13 +9,12 @@ LABEL website="https://archivesunleashed.org/"

# Install auk-notebook dependencies.
COPY requirements.txt /tmp/requirements.txt
RUN pip install -r /tmp/requirements.txt
RUN python -m pip install -r /tmp/requirements.txt
RUN python -m nltk.downloader punkt vader_lexicon stopwords

# Copy auk-notebook files over.
COPY data $HOME/data
COPY auk-notebook.ipynb $HOME
COPY aunb.py $HOME

# Start Jupyter Notebook.
CMD ["start-notebook.sh"]
@@ -15,6 +15,7 @@ We suggest using [Anaconda Distribution](https://www.anaconda.com/distribution)

* [Python](https://www.python.org/downloads/) 3.7+
* [Jupyter Notebook](https://jupyter.org) (1.0.0)
* [au_notebook](https://github.com/archivesunleashed/au_notebook) (0.0.2)
* [matplotlib](https://matplotlib.org) (3.0.2)
* [numpy](https://pypi.org/project/numpy/#history) (1.15.1)
* [pandas](https://pandas.pydata.org) (0.23.4)

Large diffs are not rendered by default.

Oops, something went wrong.
304 aunb.py

This file was deleted.

Oops, something went wrong.
@@ -1,5 +1,6 @@
au-notebook==0.0.2
matplotlib==3.0.2
numpy==1.15.1
pandas==0.23.4
networkx==2.2
nltk==3.4
numpy==1.15.1
pandas==0.23.4

0 comments on commit e5f78a4

Please sign in to comment.
You can’t perform that action at this time.