Skip to content

Commit

Permalink
rename the example
Browse files Browse the repository at this point in the history
  • Loading branch information
MeWu-IDM committed Nov 13, 2024
1 parent cc37e0b commit cfa7d96
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Generate Index HTML
run: |
ls -laR gallery
echo "<html><body><h1>Gallery Index</h1><ul>" > gallery/index.html
echo "<html><body><h1>IDM Data Access / Analysis Gallery</h1><ul>" > gallery/index.html
find gallery -name "*.html" -not -name "index.html" | while read -r file; do
# Remove the 'gallery/' prefix from the file path
relative_path="${file#gallery/}"
Expand Down
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,13 @@ RUN add-apt-repository ppa:deadsnakes/ppa && \

# Set up Python virtual environment
# Install Jupyter, Quarto, and ipykernel

RUN python3 -m pip install jupyterlab jupyterlab-quarto jupyter_contrib_nbextensions quarto-cli ipykernel ipython
RUN python3.12 -m venv /opt/venv --system-site-packages

ENV PATH="/opt/venv/bin:$PATH"

# Create an IPython kernel for the virtual environment
RUN /opt/venv/bin/pip install ipykernel
RUN /opt/venv/bin/pip install --upgrade pip setuptools wheel
RUN /opt/venv/bin/pip install jupyterlab jupyterlab-quarto jupyter_contrib_nbextensions quarto-cli ipykernel ipython
RUN /opt/venv/bin/python -m ipykernel install --user --name=venv --display-name "Python 3.12 (venv)"

# Install latest Quarto
Expand Down
File renamed without changes.
File renamed without changes.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cfa7d96

Please sign in to comment.