Reusable Django app to connect servers with the Tribe web service at the University of Pennsylvania
Project description
=====
Django Tribe Client
=====
Tribe client is a simple Django app to connect your server to the 'Tribe' web service
(located at http://tribe.greenelab.com).
Detailed documentation is in the "docs" directory.
Quick start
-----------
1. Add "tribe-client" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = (
...
'tribe_client',
)
2. Include the tribe-client URLconf in your project urls.py like this::
url(r'^tribe_client/', include('tribe_client.urls')),
3. Register your client server at http://tribe.greenelab.com/oauth2/applications/. Make sure to:
a. Select "Confidential" under "Client type" and
b. Select "Authorization Code" under "Authorization grant type"
c. Enter the client server address plus "/tribe_client/get_token" in the "Redirect uris" box
4. Write down the Client id in the "TRIBE_ID" setting and the Client secret in the TRIBE_SECRET setting
in the settings.py file
5. TRIBE_REDIRECT_URI setting should be the address of the client server plus "/tribe_client/get_token"
6. Make sure that you have a base.html template that the tribe_client templates can extend
7. Make a link that takes the user to the '/tribe_client' url of your website for them to log in using Tribe
Django Tribe Client
=====
Tribe client is a simple Django app to connect your server to the 'Tribe' web service
(located at http://tribe.greenelab.com).
Detailed documentation is in the "docs" directory.
Quick start
-----------
1. Add "tribe-client" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = (
...
'tribe_client',
)
2. Include the tribe-client URLconf in your project urls.py like this::
url(r'^tribe_client/', include('tribe_client.urls')),
3. Register your client server at http://tribe.greenelab.com/oauth2/applications/. Make sure to:
a. Select "Confidential" under "Client type" and
b. Select "Authorization Code" under "Authorization grant type"
c. Enter the client server address plus "/tribe_client/get_token" in the "Redirect uris" box
4. Write down the Client id in the "TRIBE_ID" setting and the Client secret in the TRIBE_SECRET setting
in the settings.py file
5. TRIBE_REDIRECT_URI setting should be the address of the client server plus "/tribe_client/get_token"
6. Make sure that you have a base.html template that the tribe_client templates can extend
7. Make a link that takes the user to the '/tribe_client' url of your website for them to log in using Tribe
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
Close
Hashes for django-tribe-client-1.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 435ed8295cfa1721514e530373b52d0dd1b9bb5183aa02ea62170475032cd47e |
|
MD5 | 9abf0d604e35c934c4d884885d8b97d7 |
|
BLAKE2b-256 | 654796d41d7fc56a8bc439c8185256101d576d10a49006a60bff556d890d857f |