Chart.js integration for datasette
Install this plugin in the same environment as Datasette.
$ datasette install datasette-chartjs
Usage instructions go here.
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
$ cd datasette-chartjs
$ python3 -mvenv venv
(venv)$ source venv/bin/activate
Or if you are using pipenv
:
$ pipenv shell
Now install the dependencies and tests:
(venv)$ pip install -e '.[dev,test]'
To run the tests:
(venv)$ pytest
The project also uses pre-commit for linting and formatting of source code:
(venv)$ pre-commit install -t pre-commit -t pre-push --install-hooks