git clone https://github.com/marcskovmadsen/panel-highcharts
cd panel-highcharts
Please 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-highcharts
Install 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 --help
You can run all tests via
pn test all
Please 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_highcharts
Finally you can build the package
pn build package
Start by running all tests successfully
pn test all
The 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.