- Fork https://github.com/adamghill/django-unicorn`
git cloneyour forked repositorycd django-unicorn- Install pre-commit hooks:
just install-pre-commitoruv run pre-commit install uv sync --extra minify --extra docsjust runserver- Go to
localhost:8080in your browser
- Download the repo to your local
pip install -e ../django-unicornfrom inside the other project's virtualenv or adddjango-unicorn = { path="../django-unicorn", develop=true }to the other project'spyproject.toml
just docs-serve
- Python:
just test-python - JavaScript:
npm run test
- Install
act act -W .github/workflows/python.yml -j test
npm installnpm run build
- Update
docs/source/changelog.md - Update version in
pyproject.toml - Commit changes
- Tag the release:
git tag #.##.# - Push the tag:
git push origin --tags - The GitHub Action will automatically:
- Build the JavaScript assets with the correct version
- Build the Python package with the correct version
- Publish to PyPI
- Create a GitHub release
- Make sure live package can be installed as expected (https://pypi.org/project/django-unicorn/)