Clone and setup:
git clone https://github.com/liqd/django-ckeditor-5.git cd django-ckeditor-5 python3 -m venv venv
Build bundle:
cd django_ckeditor_5/static/django_ckeditor_5 npm install npm run prod
Create .whl package:
./venv/bin/pip install build ./venv/bin/python -m build
Package location:
dist/django_ckeditor_5-0.2.14-py3-none-any.whl
Local development with npm link (for a4-meinberlin):
# In django-ckeditor-5/django_ckeditor_5: sudo npm link # In a4-meinberlin: npm link django_ckeditor_5 # After making changes to JavaScript/CSS, rebuild: cd django-ckeditor-5/django_ckeditor_5 npm run dev
- Commit the whl file only for for development purposes if really needed.