We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 809363e commit 7233367Copy full SHA for 7233367
init.sh
@@ -1,14 +1,14 @@
1
#!/bin/bash
2
-
+LANGUAGE=$1
3
# Clone course repository
4
REPO_URL="https://github.com/InseeFrLab/funathon2023_sujet3.git"
5
CLONE_DIR="/home/onyxia/work/funathon-sujet3"
6
git clone --depth 1 $REPO_URL $CLONE_DIR
7
cd $CLONE_DIR
8
9
# Install required packages
10
-pip install -r requirements_Python.txt
+pip install -r requirements_"$LANGUAGE".txt
11
12
# Open the relevant notebook when starting Jupyter Lab
13
jupyter server --generate-config
14
-echo "c.LabApp.default_url = '/lab/tree/funathon-sujet3/Sujet_3_Python.ipynb'" >> /home/onyxia/.jupyter/jupyter_server_config.py
+echo "c.LabApp.default_url = '/lab/tree/funathon-sujet3/Sujet_3_$LANGUAGE.ipynb'" >> /home/onyxia/.jupyter/jupyter_server_config.py
0 commit comments