File tree Expand file tree Collapse file tree 9 files changed +10
-20
lines changed Expand file tree Collapse file tree 9 files changed +10
-20
lines changed Original file line number Diff line number Diff line change 19
19
20
20
- script : |
21
21
# Install Python, py.test, and required packages.
22
- conda env create -f environment.yml
22
+ conda env create -f binder/ environment.yml
23
23
source activate bayesian-modelling-tutorial
24
24
conda install -y python=$(python.version)
25
25
python -m ipykernel install --user --name bayesian-modelling-tutorial
Original file line number Diff line number Diff line change 15
15
16
16
# - script: |
17
17
# # Install Python, py.test, and required packages.
18
- # conda env create -f environment.yml
18
+ # conda env create -f binder/ environment.yml
19
19
# source activate bayesian-modelling-tutorial
20
20
# conda install -y python=$(python.version)
21
21
# python -m ipykernel install --user --name bayesian-modelling-tutorial
Original file line number Diff line number Diff line change 1
1
steps :
2
2
- script : |
3
- conda env create -f environment.yml
3
+ conda env create -f binder/ environment.yml
4
4
source activate bayesian-modelling-tutorial
5
5
conda install -y python=$(python.version)
6
6
python -m ipykernel install --user --name bayesian-modelling-tutorial
Original file line number Diff line number Diff line change 1
1
steps :
2
2
- script : |
3
- conda env create -f environment.yml
3
+ conda env create -f binder/ environment.yml
4
4
activate bayesian-modelling-tutorial
5
5
conda install -y python=$(python.version)
6
6
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:
23
23
- conda info -a
24
24
25
25
# Install Python, py.test, and required packages.
26
- - conda env create -f environment.yml
26
+ - conda env create -f binder/ environment.yml
27
27
- source activate bayesian-modelling-tutorial
28
28
# This guarantees that the Python version is matrixed.
29
29
- 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
-
11
1
# Base image: miniconda3
12
2
FROM continuumio/miniconda3
13
3
14
4
# Install GCC for Theano
15
5
RUN apt-get install build-essential -y
16
6
17
7
# Install environment
18
- COPY ./environment.yml /environment.yml
8
+ COPY ./binder/ environment.yml /environment.yml
19
9
RUN conda env create -f /environment.yml
20
10
RUN rm /environment.yml
21
11
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 )
2
2
3
3
# bayesian-stats-modelling-tutorial
4
4
@@ -41,7 +41,7 @@ to **install all the necessary packages**
41
41
from the provided ` environment.yml ` file.
42
42
43
43
``` bash
44
- conda env create -f environment.yml
44
+ conda env create -f binder/ environment.yml
45
45
```
46
46
47
47
To ** activate the environment** , use the ` conda activate ` command.
@@ -59,7 +59,7 @@ source activate bayesian-modelling-tutorial
59
59
To ** update the environment** based on the ` environment.yml ` specification file, use the ` conda update ` command.
60
60
61
61
``` bash
62
- conda env update -f environment.yml
62
+ conda env update -f binder/ environment.yml
63
63
```
64
64
65
65
### 3b. ` pip ` users
@@ -75,7 +75,7 @@ pip install networkx scipy ...
75
75
76
76
If 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.
77
77
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 )
79
79
80
80
81
81
### 4a. Open your Jupyter notebook
File renamed without changes.
You can’t perform that action at this time.
0 commit comments