git clone https://github.com/marcskovmadsen/panel-highcharts
cd panel-highchartsPlease note getting node.js might be easier with conda. See below for instructions.
You can create and activate a virtual environment with pip by running.
python -m venv .venv
source .venv/bin/activate # works on linux. Other command is nescessary for windows.You will also need to install nodejs and make it available on your PATH.
You can create and activate a virtual environment with conda by running.
conda create --name panel-highcharts python=3.9 nodejs
conda activate panel-highchartsInstall the panel-highcharts package for editing
pip install pip -U
pip install -e .[all]This will also install the awesome-panel-cli tool.
You can see the available commands via
pn --helpYou can run all tests via
pn test allPlease always run this command and fix any failing tests if possible before you git push.
Make sure Bokeh is up to date
cd src/panel_highcharts
npm update @bokeh/bokehjs --save
npm audit fix
cd ../..Update the version number in the init.py and package.json files.
Then build the Bokeh models
panel build src/panel_highchartsFinally you can build the package
pn build packageStart by running all tests successfully
pn test allThe Build the package and run
pn release package <VERSION>to release the package 📦. To upload to Test Pypi first, you can add the --test flag.