Skip to content

Commit

Permalink
added workshop resources for the seminar about ddo held at UCLouvain …
Browse files Browse the repository at this point in the history
…on Dec. 7th, 2023
  • Loading branch information
xgillard committed Nov 30, 2023
1 parent 26dd20e commit 66efabb
Show file tree
Hide file tree
Showing 3 changed files with 741 additions and 0 deletions.
30 changes: 30 additions & 0 deletions seminar/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Start from a Jupyter base image with Rust installed
FROM jupyter/base-notebook

USER root

# Install Rust
RUN apt-get update && apt-get install -y curl build-essential \
&& curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y

ENV PATH="${HOME}/.cargo/bin:${PATH}"

# Install evcxr_jupyter
RUN cargo install evcxr_jupyter
RUN evcxr_jupyter --install

# No need for a token / password when starting jupyter
RUN echo "c.NotebookApp.token = ''" >> ${HOME}/.jupyter/jupyter_notebook_config.py
RUN echo "c.NotebookApp.password = ''" >> ${HOME}/.jupyter/jupyter_notebook_config.py


ADD ./ddo_seminar.ipynb /ddo_seminar/ddo_seminar.ipynb

# Set up the working directory
WORKDIR /ddo_seminar/

# Expose the JupyterLab port
EXPOSE 8888

# Start JupyterLab
CMD ["jupyter", "lab", "--ip=0.0.0.0", "--allow-root"]
16 changes: 16 additions & 0 deletions seminar/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# DDO-Seminar

This sub repository contains the docker image and notebook that have designed in support of the
"Elevate Your Problem-Solving Skills with Dynamic Programming: A Theoretical and Hands-On Seminar"
at UCLouvain on Dec. 7th, 2023.

The image has been pre-built and uploaded onto docker hub so as to lower the barrier to entry for
all participants. All what they have to do is to run the following command:

```
docker run -p 8888:8888 xgillard:ddo-seminar
```

And then open their browser at the following location: http://localhost:8888/lab/tree/ddo_seminar.ipynb

That's it.
695 changes: 695 additions & 0 deletions seminar/ddo_seminar.ipynb

Large diffs are not rendered by default.

0 comments on commit 66efabb

Please sign in to comment.