Skip to content

Commit b67eec7

Browse files
committed
Update developing.
1 parent f63e40a commit b67eec7

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

DEVELOPING.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Developing
22

3-
## Local Development
3+
## Local development
44

55
1. Fork https://github.com/adamghill/django-unicorn`
66
1. `git clone` your forked repository
@@ -10,26 +10,31 @@
1010
1. `poetry run python example/manage.py runserver localhost:8000`
1111
1. Go to `localhost:8000` in your browser
1212

13-
## To Install in Another Project
13+
## To install in another project
1414

1515
1. Download the repo to your local
1616
1. `pip install -e ../django-unicorn` from inside the other project's virtualenv _or_ add `django-unicorn = { path="../django-unicorn", develop=true }` to the other project's `pyproject.toml`
1717

18-
## Build Sphinx Documentation
18+
## Build Sphinx documentation
1919

2020
1. `poetry run sphinx-autobuild -W docs/source docs/build`
2121

22-
## Run Unittests
22+
## Run unit tests on local environment
2323

2424
1. Python: `poetry run pytest`
2525
1. JavaScript: `npm run test`
2626

27+
## Run Python/Django matrix unit tests
28+
29+
1. Install [`act`](https://nektosact.com)
30+
1. `act -q -j test -W .github/workflows/python.yml`
31+
2732
# Minify JavaScript
2833

2934
1. `npm install`
3035
1. `npm run build`
3136

32-
## Bump Version
37+
## Bump version
3338

3439
1. Update changelog.md
3540
1. Update package.json

0 commit comments

Comments
 (0)