Skip to content

Commit c6f8381

Browse files
committed
add init file
1 parent b055134 commit c6f8381

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

init.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/bash
2+
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
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

0 commit comments

Comments
 (0)