- Python: 3.6 and over
- Django: 2.2 and over
pip install django-customer-billing
Add billing to your INSTALLED_APPS
:
INSTALLED_APPS = (
...
'billing.apps.BillingConfig',
'import_export',
...
)
Run the migrations:
./manage.py migrate
To install all dependencies:
pip install -e .
To run unit tests:
pip install pytest-django
pytest
To lint, typecheck, unit test:
tox
To generate a diagram representing the state-machines:
pip install graphviz
./manage.py graph_transitions -o docs/state-machines.png
To install the version being developed into another django project:
pip install -e <path-to-this-directory>