forked from ithaka/constellate-notebooks
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart
More file actions
26 lines (17 loc) · 570 Bytes
/
start
File metadata and controls
26 lines (17 loc) · 570 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash
/opt/conda/bin/python3
version=0.1
cd /tmp
mv ~/src/constellate-plugin .
pip install constellate-plugin/
rm -rf ~/src
cd -
# Book files not needed for notebooks.
rm -rf _toc.yml _config.yml .github/ book/ book-requirements.txt
python -m nltk.downloader stopwords wordnet
jupyter contrib nbextension install --user
jupyter nbextension install jupyter_contrib_nbextensions/nbextensions/toc2 --user
jupyter nbextension enable toc2/main
jupyter nbextension enable livemdpreview/livemdpreview
jupyter nbextension enable --py constellate_plugin
exec "$@"