File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919
2020- script : |
2121 # Install Python, py.test, and required packages.
22- conda env create -f environment.yml
22+ conda env create -f binder/ environment.yml
2323 source activate bayesian-modelling-tutorial
2424 conda install -y python=$(python.version)
2525 python -m ipykernel install --user --name bayesian-modelling-tutorial
Original file line number Diff line number Diff line change 1515
1616# - script: |
1717# # Install Python, py.test, and required packages.
18- # conda env create -f environment.yml
18+ # conda env create -f binder/ environment.yml
1919# source activate bayesian-modelling-tutorial
2020# conda install -y python=$(python.version)
2121# python -m ipykernel install --user --name bayesian-modelling-tutorial
Original file line number Diff line number Diff line change 11steps :
22- script : |
3- conda env create -f environment.yml
3+ conda env create -f binder/ environment.yml
44 source activate bayesian-modelling-tutorial
55 conda install -y python=$(python.version)
66 python -m ipykernel install --user --name bayesian-modelling-tutorial
Original file line number Diff line number Diff line change 11steps :
22- script : |
3- conda env create -f environment.yml
3+ conda env create -f binder/ environment.yml
44 activate bayesian-modelling-tutorial
55 conda install -y python=$(python.version)
66 python -m ipykernel install --user --name bayesian-modelling-tutorial
File renamed without changes.
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ install:
2323 - conda info -a
2424
2525 # Install Python, py.test, and required packages.
26- - conda env create -f environment.yml
26+ - conda env create -f binder/ environment.yml
2727 - source activate bayesian-modelling-tutorial
2828 # This guarantees that the Python version is matrixed.
2929 - conda install python=$PYTHON_VERSION
Original file line number Diff line number Diff line change 1- # #### INSTRUCTIONS TO USE #####
2- # Move this file
3- # and the .dockerignore file
4- # to the base directory of the repo
5- # before using Docker to build the container.
6- # This file was moved into `utils/`
7- # because it was overriding the original
8- # conda environment-based build using `environment.yml`.
9- # #### END INSTRUCTIONS #####
10-
111# Base image: miniconda3
122FROM continuumio/miniconda3
133
144# Install GCC for Theano
155RUN apt-get install build-essential -y
166
177# Install environment
18- COPY ./environment.yml /environment.yml
8+ COPY ./binder/ environment.yml /environment.yml
199RUN conda env create -f /environment.yml
2010RUN rm /environment.yml
2111
Original file line number Diff line number Diff line change 1- [ ![ Binder] ( https://mybinder.org/badge .svg )] ( https://mybinder.org/v2/gh/ericmjl/bayesian-stats-modelling-tutorial/master )
1+ [ ![ Binder] ( https://mybinder.org/badge_logo .svg )] ( https://mybinder.org/v2/gh/ericmjl/bayesian-stats-modelling-tutorial/master )
22
33# bayesian-stats-modelling-tutorial
44
@@ -41,7 +41,7 @@ to **install all the necessary packages**
4141from the provided ` environment.yml ` file.
4242
4343``` bash
44- conda env create -f environment.yml
44+ conda env create -f binder/ environment.yml
4545```
4646
4747To ** activate the environment** , use the ` conda activate ` command.
@@ -59,7 +59,7 @@ source activate bayesian-modelling-tutorial
5959To ** update the environment** based on the ` environment.yml ` specification file, use the ` conda update ` command.
6060
6161``` bash
62- conda env update -f environment.yml
62+ conda env update -f binder/ environment.yml
6363```
6464
6565### 3b. ` pip ` users
@@ -75,7 +75,7 @@ pip install networkx scipy ...
7575
7676If you don't want to mess around with dev-ops, click the following badge to get a Binder session on which you can compute and write code.
7777
78- [ ![ Binder] ( https://mybinder.org/badge .svg )] ( https://mybinder.org/v2/gh/ericmjl/bayesian-stats-modelling-tutorial/master )
78+ [ ![ Binder] ( https://mybinder.org/badge_logo .svg )] ( https://mybinder.org/v2/gh/ericmjl/bayesian-stats-modelling-tutorial/master )
7979
8080
8181### 4a. Open your Jupyter notebook
File renamed without changes.
You can’t perform that action at this time.
0 commit comments