Last active
February 9, 2019 18:06
-
-
Save brianspiering/b1d1dc6dc81829893c19059f8a61d58b to your computer and use it in GitHub Desktop.
Current Data Science Teaching Environment - TeachOps For the Win!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: teach | |
| channels: | |
| - conda-forge | |
| - damianavila82 | |
| dependencies: | |
| - python==3.6 | |
| - ipython | |
| - jupyter | |
| - tensorflow==1.5 | |
| - keras>=2 | |
| - gensim | |
| - matplotlib | |
| - numpy | |
| - scikit-learn | |
| - rise | |
| - pip |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -e # Exit immediately if a command exits with a non-zero status | |
| set -x # Exit immediately if a pipeline exits with a non-zero status | |
| # Create environment | |
| conda update -n base conda -y | |
| conda env create --force | |
| # Start environment | |
| source activate word | |
| # Update environment (might break stuff. move fast!?) | |
| conda update --all --yes | |
| # Setup notebook extensions | |
| git clone https://github.com/Calysto/notebook-extensions.git | |
| cd notebook-extensions | |
| jupyter nbextension install calysto --user | |
| jupyter nbextension enable calysto/spell-check/main | |
| jupyter nbextension enable calysto/cell-tools/main | |
| jupyter nbextension enable calysto/annotate/main | |
| cd .. | |
| # Setup RISE (https://github.com/damianavila/RISE) slideshows | |
| jupyter nbextension install rise --py --sys-prefix | |
| jupyter nbextension enable rise --py --sys-prefix | |
| # Start Jupyter Notebook | |
| if [[ "$1" != "--no-start" ]]; then | |
| jupyter notebook --browser=Chrome | |
| fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment