Skip to content

Commit

Permalink
Add notebooks for workshop
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewwiese committed Jul 14, 2023
1 parent 035ec1c commit e82e6d9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ OAUTH_CLIENT_SECRET=<ORCID Secret>
The `breeder-notebook` Jupyter Docker stack (using `jupyter/base-notebook`) is built from the [`breeder-notebook/`](./breeder-notebook) directory, using GitHub Actions.

During the image build process, it pulls the following files:
* https://napb2023.maizegenetics.net/files/brapi_helper_installer.run
* https://napb2023.maizegenetics.net/files/napb_2023_bgh_demo_01.ipynb
* https://napb2023.maizegenetics.net/files/napb_2023_bgh_demo_02.ipynb
* https://napb2023.maizegenetics.net/files/napb_demo_data.tar.gz
* https://napb2023.maizegenetics.net/files/brapi_helper_installer.run
* https://napb2023.maizegenetics.net/files/templates.tar.gz

Ensure these files are present in `breeder-genomics-hub/caddy/files` wherever you run the Compose file. This is a temporary measure until these files (templates, data, etc) are publicly accessible.
Expand Down
8 changes: 6 additions & 2 deletions breeder-notebook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,17 @@ RUN cd /tmp && wget https://napb2023.maizegenetics.net/files/brapi_helper_instal

# Pull Brandon's demo files
RUN cd /home/${NB_USER} && \
wget https://napb2023.maizegenetics.net/files/napb_2023_bgh_demo_01.ipynb && \
wget https://napb2023.maizegenetics.net/files/napb_2023_bgh_demo_02.ipynb && \
wget https://napb2023.maizegenetics.net/files/napb_demo_data.tar.gz && \
tar -xvf napb_demo_data.tar.gz
tar -xvf napb_demo_data.tar.gz && \
rm napb_demo_data.tar.gz

# ILCI Templates
RUN cd /home/${NB_USER} && \
wget https://napb2023.maizegenetics.net/files/templates.tar.gz && \
tar -xvf templates.tar.gz
tar -xvf templates.tar.gz && \
rm templates.tar.gz

# Jupyter Notebook config
ADD jupyter_notebook_config.py /home/${NB_USER}/.jupyter/jupyter_notebook_config.py

0 comments on commit e82e6d9

Please sign in to comment.