• Stars
    star
    121
  • Rank 293,924 (Top 6 %)
  • Language
    Python
  • License
    Other
  • Created over 15 years ago
  • Updated almost 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Sample django app for subscription based web service
Django SAAS kit
===============

Django SAAS kit is an example Django project integrating
django-subscription and django-muaccount applications to achieve
multi-user accounts with custom domain, that are characteristic for
Software As A Service-type (SAAS) services.

Table of Contents
=================
1 Getting started
2 Default data set
3 Runtime environment
    3.1 Warnings at startup
4 License


1 Getting started
~~~~~~~~~~~~~~~~~
  To start the project, after cloning Git repository, run:

  1. make -C upstream/ init
  2. cd project
  3. python manage.py syncdb --noinput
  4. python manage.py loaddata exampledata.json
  5. python manage.py runserver

  Project includes as Git sumodules or downloads from
  upstream/Makefile all needed Django applications; only requirements
  are Python (2.5 or higher, but may work on earlier versions of
  Python) and stable release of Django (1.0.2 at this moment).

  To download dependencies (step 1), following programs are needed:
  - make,
  - git,
  - mercurial,
  - subversion,
  - wget,
  - tar accepting "-j" option (any recent GNU tar).

2 Default data set
~~~~~~~~~~~~~~~~~~
  By loading exampledata.json, data is populated with:
  - Silver Membership monthly recurring plan, linked to Silver Member group,
    having ability to change muaccount's public status;
  - Gold Membership monthly recurring plan, linked to Gold Member group,
    having ability to set custom domain and change muaccount's public status
  - administrative interface user, login admin, password admin
  - free_user user, password "free", with no paid plan selected
  - silver_user user, password "silver", with silver plan selected
  - gold_user user, password "gold", with gold plan selected
  - muaccount of free_user with subdomain "free"
  - muaccount of silver_user with subdomain "silver"
  - muaccount of gold_user with custom domain "www.gold-account.com"
  - test1 user, password "test", with no plan selected, member of "free"
    and "silver" muaccount
  - test2 user, password "test", with no plan selected, member of
    "silver" and "gold" account
  - test3 user, password "test", with no plan selected, member of
    "gold" account

3 Runtime environment
~~~~~~~~~~~~~~~~~~~~~
  Project is expected to run on localhost, port 8000 (or any other
  port set in MUACCOUNTS_PORT).  For all sites to work correctly,
  following hosts must resolve to 127.0.0.1 (e.g. by adding entry in
  /etc/hosts): example.com www.example.com free.example.com
  silver.example.com gold.example.com www.gold-account.com. To deploy
  on standard port (80 for HTTP), comment out MUACCOUNTS_PORT setting.

  To succesfully use PayPal sandbox, you'll need to:
  - sign up for PayPal sandbox at [http://developer.paypal.com/]
  - configure PAYPAL_RECEIVER_EMAIL and possibly SUBSCRIPTION_PAYPAL_SETTINGS
    in project/settings.py
  - make sure your page is visible from outside world (necessary for IPN callbacks)
  - set your page's IP or root domain (MUACCOUNTS_ROOT_DOMAIN) and port, in form
    12.34.56.78:8000 (when deploying on standard port, set just IP or root domain),
    as `example.com' Site's domain name in admin panel, so that django-subscription
    can give correct IPN URL to PayPal.
  To run with live PayPal, you'll need to change {{form.sandbox}} to {{form.render}}
  in templates/subscription/subscription_detail.html and set PAYPAL_TEST to False in
  project/settings.py.

3.1 Warnings at startup
=======================
   When some of dependencies are installed system-wide (especially if
   installed with easy_install), Django may issue warnings similar to
   one pasted below:

       Installing index for admin.LogEntry model
       Installing index for subscription.Transaction model
       /opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/simplejson-2.0.9-py2.5-macosx-10.5-i386.egg/simplejson/_speedups.py:3:
       UserWarning: Module registration was already imported from /Users/admin/Projects/django-saas-kit/site-python/registration/__init__.py, but /opt/local/lib/python2.5/site-packages/django_registration-0.7-py2.5.egg is being added to sys.path
        import sys, pkg_resources, imp
   
   Such warnings are not important, since they only indicate that
   system-wide installation of django-registration is not used, and
   project-local checkout is used instead.

4 License
~~~~~~~~~
  Licensed under the GPL (GPL-LICENSE.txt). 

More Repositories

1

django-subscription

Subscriptions or Recurring Billing App for django
Python
183
star
2

django-muaccounts

Domain-based multi-user accounts
Python
30
star
3

saaskit-core

SaaS kit core python package
Python
23
star
4

django-prepaid

Django application supporting expiring units
Python
16
star
5

saaskit-muaccounts

Python
9
star
6

saaskit-subscription

Python
7
star
7

my-wallpaper

Android app - My Wallpaper
Java
7
star
8

crowdsense.com

SaaS Based QA Service
Python
5
star
9

django-saaskit-todo

Customized django-todo i.e. removal of groups etc. Original django-todo can be found here @ http://code.google.com/p/django-todo/
Python
5
star
10

python-Levenshtein

Git copy of A fast implementation of Levenshtein Distance (and others) for Python
C
5
star
11

django-sso

Accept and create single sign on links
Python
4
star
12

django-error-capture-middleware

Python
4
star
13

saaskit-main

Python
4
star
14

django-rest

Local copy of django restmodel
Python
4
star
15

xscheduling

JavaScript
4
star
16

django-saaskit-scratchpad

a scratchpad to store audio, video, image, text, urls and share it with others.
Python
4
star
17

django-saaskit-polls

django-polls from the tutorial customized to work with saaskit!
Python
4
star
18

saaskit-user

Python
4
star
19

saaskit-trackerstats

Python
3
star
20

lab

Lab Attic and Experiments
JavaScript
3
star
21

yotweets.com

Python
3
star
22

django-profiles

Python
3
star
23

geopy

3
star
24

saaskit-tracker

Python
3
star
25

saaskit-tasks

JavaScript
2
star
26

saaskit-yql

Python
2
star
27

django-registration

Python
2
star
28

django-paypal-api

Paypal API with django integration
Python
2
star
29

django-authopenid

Python
2
star
30

saaskit-prepaid

Python
2
star
31

django-threadedcomments

Original repository at http://code.google.com/p/django-threadedcomments/
Python
2
star
32

saaskit-livesearch

Python
2
star
33

google-visualization-python

1
star
34

crowdsense.old

Python
1
star
35

crowdsense-back

Python
1
star
36

Next-Big-Thing

1
star
37

gmaps-utility-library

1
star