diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 863230e44..036a112df 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -43,7 +43,8 @@ "postStartCommand": { "backend": "nohup bash -c 'uv run python package/kedro_viz/server.py demo-project &' > backend.out 2> backend.err < /dev/null", - // "frontend": "nohup bash -c 'npm start &' > frontend.out 2> frontend.err" + // FIXME: Looks like the frontend is not needed? The backend stands on its own + "frontend": "nohup bash -c 'npm start &' > frontend.out 2> frontend.err" }, "customizations": { diff --git a/.devcontainer/onCreateCommand.sh b/.devcontainer/onCreateCommand.sh index 872fd92e6..c0785fe26 100755 --- a/.devcontainer/onCreateCommand.sh +++ b/.devcontainer/onCreateCommand.sh @@ -11,3 +11,6 @@ uv venv $VIRTUAL_ENV uv pip install -r package/test_requirements.txt -r demo-project/src/docker_requirements.txt uv pip install -e package/ + +# Now the NPM dependencies too +npm install