dpd-componentsThis repository contains components for Django Plotly Dash. This is a Plotly Dash plugin.
The source for this project can be seen here:
To install the package
pip install dpd-components
To set up a development environment:
If needed, relocate the component into root directory.
virtualenv env -p python3.6 source env/bin/activate pip install dev_requirements.txt npm install builder-init export PATH=$PATH:$PWD/node_modules/.bin builder-init dash-components-archetype
DevelopmentOnce the environment has been prepared, the following two commands are needed to initialise a terminal or other session:
source env/bin/activate export PATH=$PATH:$PWD/node_modules/.bin
Also, in the virtualenv of the python project using `
DjangoDash` (or similar), this project can be added in development form
cd ... this repo root directory ... python setyp.py develop
Build commandsTo test the component:
To run the README compiler:
To perform a local rebuild:
npm prepublish python setup.py install
builder run demo
ReleaseTo prepare a release, the version number in both `
package.json` has to be updated.