You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add example docs
* Fix up the toc
* Add installation docs page.
* Add getting started docs
* Add contributing documentation
* Update the readme for the example repo
- GitHub action ([release.yml](https://github.com/django-commons/django-commons-playground/blob/main/.github/workflows/release.yml)) for releasing to PyPI
Everyone is welcome to contribute to `django-commons-playground`. We strictly
4
+
enforce our [Code of Conduct](../CODE_OF_CONDUCT.md), so please review it before
5
+
contributing.
6
+
7
+
## Getting started
8
+
9
+
1.[Fork the repository](https://github.com/django-commons/django-commons-playground/fork)
10
+
2. Clone your fork of the repository `git clone [email protected]:[YOUR_USERNAME_HERE]/django-commons-playground.git && cd django-commons-playground`
11
+
3. Create a venv and activate it `python -m venv venv && source venv/bin/activate`
12
+
4. Create a feature branch for your work `git checkout -b relevant-branch-name-here`
13
+
5. Implement your changes, run the tests and make a commit to your branch
14
+
6. Push your branch to GitHub `git push origin relevant-branch-name-here`
15
+
7. Create a [PR on the upstream repo (this repo)](https://github.com/django-commons/django-commons-playground/pulls)
16
+
17
+
## Architecture
18
+
19
+
The django-commons-playground is a collection of utility functions with a
20
+
playground theme. The purpose is to serve as an example to inbound repositories.
21
+
Because of that the documentation, pre-commit configuration and GitHub actions
22
+
are the most important aspects of the project. The code itself is secondary.
23
+
24
+
## Running the tests
25
+
26
+
```shell
27
+
python3 -m unittest
28
+
```
29
+
30
+
Nothing special here!
31
+
32
+
## Releasing
33
+
34
+
The repo is configured to [automatically release to PyPI](https://github.com/django-commons/django-commons-playground/blob/main/.github/workflows/release.yml)
35
+
when a new tag is pushed to GitHub. This makes use of [PyPI's trusted publishers](https://docs.pypi.org/trusted-publishers/).
36
+
37
+
### Manual releases
38
+
39
+
In the case a manual release is necessary, you'll need to use [Twine](https://github.com/pypa/twine) and [Build](https://github.com/pypa/build).
0 commit comments