Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install jmbo-janrain

How to install jmbo-janrain

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install jmbo-janrain
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
Windows (64-bit)
Mac OS X (10.5+)
Linux (32-bit)
Linux (64-bit)
0.1 Available View build log
 
License
BSD
Lastest release
version 0.1 on Jan 9th, 2014

Installation instructions, until this is part of Jmbo:

Add jmbo-janrain to your buildout as part of the buildout eggs:

[buildout]

extensions=
    ...
    mr.developer

eggs=
    ...
    jmbo-janrain

[sources]
jmbo-janrain = git git://github.com/praekelt/jmbo-janrain.git branch=develop

Add it to your INSTALLED_APPS:

INSTALLED_APPS = (
...
'janrain',
...
)

Add the middleware:

middleware_classes = (
...
'janrain.middleware.JanrainMiddleware',
...
)

Add the following parameters to your settings file:

# URL given as your domain url by Janrain, including the https parts.
JANRAIN_URL = 'JANRAIN_URL'

# The janrain client ID, shown on the Janrain site.
JANRAIN_CLIENT_ID = 'JANRAIN_CLIENT_ID'

# The Janrain client secret, shown on the Janrain site.
JANRAIN_CLIENT_SECRET = 'JANRAIN_CLIENT_SECRET'

The product includes a South migration, so I found that the following works when using the standard Praekelt setup:

  • Backup.

  • Run a level 2 deploy. This will pull in the product and dependencies. The server will either not start up or will throw 503 errors, since the migration is not run yet.

  • Do a South migration::

    ./bin/{yoursite}-qa-web-site migrate janrain

  • Run a level 1 install. Everything should now start up. You might want to add the stuff above into all the settings files.

Find the complete set of Jmbo docs here

Authors

Praekelt Foundation
  • Johan Beyers

System Message: WARNING/2 (<string>, line 65)

Bullet list ends without a blank line; unexpected unindent.

Changelog

0.1
  1. Reduce calls to reverse.
  2. Guard against no user being present on the request.
0.0.1
  1. Initial product

Subscribe to package updates

Last updated Jan 9th, 2014

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.