modularity / Devconf-Modularity-Workshop

Created 3 years ago
Maintained by cpacheco
Materials for the Devconf 2017 Modularity Workshop
Members 2
CourtneyPacheco committed 2 years ago

Devconf-Modularity-Workshop

Materials for the Devconf 2017 Modularity Workshop

Instructions


$ docker build -t modularity-workshop .
$ docker run --security-opt label:disable -p 8888:8888 -i -t modularity-workshop

Instructions (for use outside of Docker)


1. Install Anaconda

$ wget https://repo.continuum.io/archive/Anaconda2-4.2.0-Linux-x86_64.sh
$ bash Anaconda2-4.2.0-Linux-x86_64.sh -b -p ~/anaconda
$ rm Anaconda2-4.2.0-Linux-x86_64.sh
$ echo 'export PATH="~/anaconda/bin:$PATH"' >> ~/.bashrc 
$ source ~/.bashrc

2. Use Anaconda to create a Python environment

$ conda create -n modularity python=3 ipython notebook

3. Activate the newly-created environment

$ source activate modularity

4. Install the bash kernel

$ pip install bash_kernel
$ python -m bash_kernel.install

5. Download necessary git repos

$ ./get_git_repos.sh

6. Run Jupyter Notebook

$ jupyter notebook Devconf-2017-Modularity-Workshop.ipynb