Contributing¶
Frontend¶
Unlike many Django developers who like to write client side code in template, I prefer to put them in a *.js files and Stimulus JS is my favorite to write reusable and maintainable JavaScript code.
$ npm install
# launch webpack to compile the frontend assets and put them in `src/django_lookbook/static`
$ npm run watch
Backend¶
# install the package in editable mode
$ pip install -e .
Notes:
Then you can install it in your Django project and debug it.
Or you can run the tests with
pytest.