Skip to content

Ssocial authenticator and data collector tool for researching contribution patterns of individuals in multiple social media and mapping platforms

License

Notifications You must be signed in to change notification settings

jlevente/social

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Social authenticator and data collector

A django web app for social authentication and a data collector class to retrieve contributions of authorized users from diferent social apps

Prerequisites

You will need a PostgreSQL instalce with postgis and pipenv.

Installing

Pull the django-allauth package from my repo that contains additional oauth providers, such as OSM, Mapillary and Strava. Install it with pipenv

cd some_path
git clone https://github.com/jlevente/django-allauth
cd path_to_django_webapp
pipenv install -e some_path/django-allauth
pipenv sync
pipenv shell

Set the following environmental variables: DJANGO_SOCIAL_SECRET, DJANGO_SOCIAL_DEFAULT_DB_[x], DJANGO_SOCIAL_DATA_DB_[x], where x corresponds to NAME, USER, PASS, HOST and PORT.

cd socialcollector

Create a django superuser with python manage.py createsuperuser. Run python manage.py migrate and python manage.py runserver. You can now check your developement instance at http://127.0.0.1:8000. Add your social app credentials (client key, secret) at http://127.0.0.1:8000/admin.

Set up data db.

TODO

About

Ssocial authenticator and data collector tool for researching contribution patterns of individuals in multiple social media and mapping platforms

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published