File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,22 +9,8 @@ sh $MY_REPO/sspcloud/restore_environment.sh
99# Download data
1010sh $MY_REPO /sspcloud/download_data.sh
1111
12-
13-
14- WORK_DIR=" /home/onyxia/work"
15- GITHUB_REPOSITORY=" https://github.com/InseeFrLab/AIML4OS-template-quarto-python.git"
16- NOTEBOOK_DOWNLOAD_URL=" https://inseefrlab.github.io/AIML4OS-template-quarto-python/chapters/chapter1.ipynb"
17- BUCKET_PATH=" s3/donnees-insee/diffusion/ETAT_CIVIL/2020/DECES_COM_1019.csv"
18- DEST_DIR=" $HOME /work/data"
19- DEST_FILE=" $DEST_DIR /$( basename " $BUCKET_PATH " ) "
20-
21- # Download the dataset
22- echo " Downloading $BUCKET_PATH to $DEST_FILE ..."
23- mc cp " $BUCKET_PATH " " $DEST_DIR "
24-
25- # Download the notebook directly using curl
26- echo $NOTEBOOK_DOWNLOAD_URL
27- curl -L $NOTEBOOK_DOWNLOAD_URL -o " ${WORK_DIR} /exercise.ipynb"
12+ # Download the notebook
13+ sh $MY_REPO /sspcloud/download_notebook.sh
2814
2915# Ensure Quarto extension is up to date
3016code-server --install-extension quarto.quarto
You can’t perform that action at this time.
0 commit comments