Skip to content

Commit

Permalink
vdk-jupyter: use npm in build.sh (#2665)
Browse files Browse the repository at this point in the history
It seems we are mostly using npm in CI and local setup shoudl resemble
CI if possible
  • Loading branch information
antoniivanov authored Sep 20, 2023
1 parent 78df094 commit 0f3adc0
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions projects/vdk-plugins/vdk-jupyter/cicd/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,11 @@ echo "Upgrade pip"
pip install -U pip
echo "Install python package in development mode"
pip install -e .
echo "Link the development version of the extension with JupyterLab"
jupyter labextension develop . --overwrite
echo "Install JupyterLab server extension in develop mode"
jupyter server extension enable vdk-jupyterlab-extension
echo "Build JavaScript assets for the JupyterLab extension"
jlpm build
npm rebuild

echo "Notes:"
echo "Rebuild extension Typescript source after making changes using jlpm build or start jlpm watch to track and rebuild automatically"
echo "Rebuild extension Typescript source after making changes using npm build or start npm run watch to track and rebuild automatically"

echo "Start jupyter server using"
echo "jupyter lab"

0 comments on commit 0f3adc0

Please sign in to comment.