Skip to content

Commit

Permalink
Merge pull request #6 from lipemorais/main
Browse files Browse the repository at this point in the history
#5 adding instructions on how to run the tests and how to set up the …
  • Loading branch information
ipmb authored Oct 23, 2023
2 parents 3a3211d + 10979bb commit 59608f9
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
18 changes: 16 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,20 @@ Django takes an un-opinionated approach to how it should be deployed. This makes
**I disagree with the settings/packages you're using.**
Not a question, but ok. Feel free to submit an issue or pull request with your suggestion and reasoning. We appreciate the feedback and contributions. We may not accept changes that we don't feel fit the spirit of this project (remember, it's _opinionated_). If you're unsure, don't hesitate to ask.

## Contribute

### Setup

To setup the project just install the dependencies with the tests dependencies included
`$ pip install -e '.[test]'`

if the command above doesn't work try this
`$ pip install -e .[test]`

### run the tests

`$ pytest`

## Publishing a new version

1. Update the version in `django_production/__init__.py`
Expand All @@ -70,5 +84,5 @@ Not a question, but ok. Feel free to submit an issue or pull request with your s

## To Do

* Handle media settings for common object stores
* Email settings including non-SMTP backends like SES
- Handle media settings for common object stores
- Email settings including non-SMTP backends like SES
7 changes: 7 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[pytest]
python_files = test_*.py *_tests.py
addopts =
-vv
--durations=5
testpaths = tests
console_output_style = progress

0 comments on commit 59608f9

Please sign in to comment.