-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added workshop resources for the seminar about ddo held at UCLouvain …
…on Dec. 7th, 2023
- Loading branch information
Showing
3 changed files
with
741 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
Large diffs are not rendered by default.
Oops, something went wrong.