Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Jmbo Janrain integration.

Project description

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 <http://jmbo.readthedocs.org/>`_

Authors
=======

Praekelt Foundation
-------------------

* Johan Beyers
Changelog
=========

0.1
---
#. Reduce calls to `reverse`.
#. Guard against no user being present on the request.

0.0.1
-----
#. Initial product

Project details


Release history Release notifications

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for jmbo-janrain, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size jmbo_janrain-0.1-py2.7.egg (18.1 kB) File type Egg Python version 2.7 Upload date Hashes View hashes
Filename, size jmbo-janrain-0.1.tar.gz (9.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page