Skip to content

Commit 1da2580

Browse files
committed
Refactor devcontainer setup: update open files, remove obsolete extension installation script, and streamline post-creation commands
1 parent 11dbc7d commit 1da2580

4 files changed

Lines changed: 7 additions & 17 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"customizations": {
4040
"codespaces": {
4141
"openFiles": [
42-
"README.md"
42+
"lessons/10_Module_1/10_Getting_Started.ipynb"
4343
]
4444
},
4545
"vscode": {
@@ -48,7 +48,7 @@
4848
"ms-python.debugpy",
4949
"ms-python.isort",
5050
"ms-toolsai.jupyter",
51-
"https://github.com/league-infrastructure/league-vscode-ext/releases/download/v1.20250530.2/jtl-syllabus-v1.20250530.2.vsix"
51+
"jointheleague.jtl-syllabus"
5252
],
5353
"settings": {
5454
"python.defaultInterpreterPath": "/usr/local/bin/python",

.devcontainer/install-extensions.sh

Lines changed: 0 additions & 5 deletions
This file was deleted.

.devcontainer/postCreateCommand.sh

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
11
#!/bin/bash
22

3-
ext_url='https://github.com/league-infrastructure/league-vscode-ext/releases/download/v1.20250530.2/jtl-syllabus-v1.20250530.2.vsix'
4-
ext_path=/vscode/extensionsCache/jtl-syllabus.vsix
3+
# Update pip to the latest version
4+
python3 -m pip install --upgrade pip
55

6-
# Download the extension
7-
curl -L -o "$ext_path" "$ext_url"
8-
if [ -f "$ext_path" ]; then
9-
echo "Downloaded JTL Syllabus extension to $ext_path"
6+
# Check if requirements.txt exists in the root of the workspace
7+
if [ -f "requirements.txt" ]; then
8+
pip3 install -r requirements.txt
109

1110
else
12-
echo "Failed to download JTL Syllabus extension."
13-
fi
1411

15-
# Install the Python package regardless
16-
pipx install jtl-syllabus

requirements.txt

Whitespace-only changes.

0 commit comments

Comments
 (0)