Skip to content

altuzar/djaodjin-saas

 
 

Repository files navigation

djaodjin-saas is a Django application that implements the logic to support subscription-based Sofware-as-a-Service businesses.

Major Features:

  • Separate billing profiles and authenticated users
  • Double entry book keeping ledger
  • Flexible security framework

Full documentation for the project is available at Read-the-Docs

Development

After cloning the repository, create a virtualenv environment, install the prerequisites, create and load initial data into the database, then run the testsite webapp.

$ virtualenv-2.7 _installTop_
$ source _installTop_/bin/activate
$ pip install -r testsite/requirements.txt
$ make initdb
$ python manage.py runserver

# Browse http://localhost:8000/
# Login with username: donny and password: yoyo

To test payment through Stripe:

  1. Verify the Stripe API version you are using in the Stripe dashboard.

    API Version: 2014-03-28

  2. Add your Stripe keys in the credentials file.

    STRIPE_PUB_KEY = "your_stripe_public_api_key" STRIPE_PRIV_KEY = "your_stripe_private_api_key"

  3. This Django App does not send notification e-mails itself. All major updates that would result in a e-mail sent trigger signals though. It is straightforward to send e-mails on a signal trigger in the main Django project. We provide sample e-mail templates here in the saas/templates/notification/ directory.

Release Notes

  • version 0.1.8 refactor ledger to fully support backlog accounting
  • version 0.1.7 supports Django 1.7 and django-restframework 3.1

About

Django application for subscription businesses

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 81.2%
  • HTML 8.8%
  • JavaScript 8.1%
  • CSS 1.8%
  • Makefile 0.1%