- Fork https://github.com/adamghill/django-unicorn`
git clone
your forked repositorycd django-unicorn
poetry install -E minify -E docs
poetry run python example/manage.py migrate
poetry run python example/manage.py runserver localhost:8000
- Go to
localhost:8000
in your browser
- Download the repo to your local
pip install -e ../django-unicorn
from inside the other project's virtualenv or adddjango-unicorn = { path="../django-unicorn", develop=true }
to the other project'spyproject.toml
poetry run sphinx-autobuild -W docs/source docs/build
- Python:
poetry run pytest
- JavaScript:
npm run test
- Install
act
act -W .github/workflows/python.yml -j test
npm install
npm run build
- Update changelog.md
- Update package.json
poetry version major|minor|patch
- Run all build processes:
poe build
- Commit/tag/push version bump
poe publish
- Make sure test package can be installed as expected (https://test.pypi.org/project/django-unicorn/)
- Make sure live package can be installed as expected (https://pypi.org/project/django-unicorn/)
- Create GitHub release and add changelog there
- Update django-unicorn.com's version of
django-unicorn