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
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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jmbo-janrain-0.1.tar.gz
(9.4 kB
view details)
Built Distribution
jmbo_janrain-0.1-py2.7.egg
(18.1 kB
view details)
File details
Details for the file jmbo-janrain-0.1.tar.gz
.
File metadata
- Download URL: jmbo-janrain-0.1.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a07614609d416afbdaab72bc95dfb540b593fc2bac5bf77436aa601624282a39 |
|
MD5 | dae19ba95a48568054515f2540b76f9f |
|
BLAKE2b-256 | f4811fc59a5370aa6bac069674e762956d21a47f075bb34d786c3c95f5158e34 |
File details
Details for the file jmbo_janrain-0.1-py2.7.egg
.
File metadata
- Download URL: jmbo_janrain-0.1-py2.7.egg
- Upload date:
- Size: 18.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 945085187d5e6410212ccc0c9ae394f8974baa54719cc7850479d88fd4662fb8 |
|
MD5 | 7532c6dcda5456cf3ebfdf4c960b9183 |
|
BLAKE2b-256 | aec1b0ae8976974697e47b9068d6c16cf8d50df2b59e33cd119a07ce18f53af2 |