Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 1016 Bytes

DEVELOPING.md

File metadata and controls

32 lines (25 loc) · 1016 Bytes

Developing

  1. git clone git@github.com:adamghill/django-unicorn.git
  2. poetry install
  3. poetry run python example/manage.py migrate
  4. poetry run python example/manage.py runserver localhost:8000
  5. Go to localhost:8000 in your browser
  6. To install in another project pip install -e ../django-unicorn

Run unittests

  1. poetry run pytest
  2. npm run test

Minify Javascript

  1. npm install
  2. npm run build

Bump version

  1. poe t
  2. poe b
  3. poetry version major|minor|patch
  4. Update django-unicorn.com's changelog.md
  5. Commit/tag/push version bump
  6. poetry publish --build -r test
  7. Make sure test package can be installed as expected (https://test.pypi.org/project/django-unicorn/)
  8. poetry publish
  9. Make sure live package can be installed as expected (https://pypi.org/project/django-unicorn/)
  10. Create GitHub release and add changelog there
  11. Update django-unicorn.com's version of django-unicorn