Skip to content

Commit 829176b

Browse files
committed
Modify the main init script
1 parent 62f9fe3 commit 829176b

1 file changed

Lines changed: 3 additions & 16 deletions

File tree

init.sh

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,8 @@
33
# Get the name of the repo
44
MY_REPO=$(ls -d "/home/onyxia/work"/*/ | head -n 1 | xargs basename)
55

6-
# Change directory
7-
cd $MY_REPO
8-
9-
# Create a virtual environment and install project dependencies
10-
uv sync
11-
12-
# Change directory
13-
cd ..
14-
15-
# Set VSCode's default interpreter path
16-
mkdir -p .vscode
17-
echo "{ \"python.defaultInterpreterPath\": \"./$MY_REPO/.venv/bin/python\" }" > .vscode/settings.json
18-
19-
# Set Quarto default interpreter path
20-
export QUARTO_PYTHON=./$MY_REPO/.venv/bin/python
6+
# Restore the environment
7+
sh $MY_REPO/sspcloud/restore_environment.sh
218

229
# Download data
23-
sh $MY_REPO/download_data.sh
10+
sh $MY_REPO/sspcloud/download_data.sh

0 commit comments

Comments
 (0)