Skip to content

Commit

Permalink
boot_notebook refinement for Julia
Browse files Browse the repository at this point in the history
  • Loading branch information
elisabettai committed Apr 24, 2024
1 parent 8ed40b9 commit 6940e78
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions {{cookiecutter.project_slug}}/boot_scripts/boot_notebook.bash
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,14 @@ EOF

VOILA_NOTEBOOK="${NOTEBOOK_BASE_DIR}"/workspace/voila.ipynb


{% if cookiecutter.docker_base == "custom:julia" %}
# Copy Julia packages manifest to current dir
echo "Copying Manifest.toml and Project.toml from ${JULIA_PKGDIR} to workspace directory..."
cp "${JULIA_PKGDIR}"/Manifest.toml "${NOTEBOOK_BASE_DIR}"/workspace/
cp "${JULIA_PKGDIR}"/Project.toml "${NOTEBOOK_BASE_DIR}"/workspace/
{% endif %}

if [ "${DY_BOOT_OPTION_BOOT_MODE}" -ne 0 ]; then
echo "$INFO" "Found DY_BOOT_OPTION_BOOT_MODE=${DY_BOOT_OPTION_BOOT_MODE}... Trying to start in voila mode"
fi
Expand Down

0 comments on commit 6940e78

Please sign in to comment.