Updated README testing section. [ci skip]
parent
a7788b98ed
commit
869d4c31ad
24
README.md
24
README.md
|
|
@ -4,7 +4,7 @@
|
|||
[](https://pypi.org/project/django-admin-interface/)
|
||||
[](https://pepy.tech/project/django-admin-interface)
|
||||
[](https://github.com/fabiocaccamo/django-admin-interface/)
|
||||
[](https://badges.pufler.dev)
|
||||
[](https://badges.pufler.dev)
|
||||
[](https://github.com/fabiocaccamo/django-admin-interface/blob/master/LICENSE.txt)
|
||||
|
||||
[](https://travis-ci.org/fabiocaccamo/django-admin-interface)
|
||||
|
|
@ -105,6 +105,28 @@ You can add a theme you've created through the admin to this repository by [send
|
|||
|
||||
You can use [django-apptemplates](https://github.com/bittner/django-apptemplates), then add `{% extends "admin_interface:admin/base_site.html" %}` to your `base_site.html`
|
||||
|
||||
## Testing
|
||||
```bash
|
||||
# create python virtual environment
|
||||
virtualenv testing_django_admin_interface
|
||||
|
||||
# activate virtualenv
|
||||
cd testing_django_admin_interface && . bin/activate
|
||||
|
||||
# clone repo
|
||||
git clone https://github.com/fabiocaccamo/django-admin-interface.git src && cd src
|
||||
|
||||
# install dependencies
|
||||
pip install -r requirements.txt
|
||||
|
||||
# run tests
|
||||
tox
|
||||
# or
|
||||
python setup.py test
|
||||
# or
|
||||
python -m django test --settings "tests.settings"
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## License
|
||||
|
|
|
|||
Loading…
Reference in New Issue