Facebook Login
Sell stuff to your audience: https://gumroad.com/
https://github.com/omab/django-social-auth
https://github.com/jonathanendersby/SocialAuthCustomUserModel
Trying to get this one working!
pip install django-social-auth
django-admin.py startapp accounts
Add to settings:
‘genomex.accounts’,
‘social_auth’,
add to middleware classes
‘social_auth.middleware.SocialAuthExceptionMiddleware’,
Add to settings
Go to google api to get an id
https://code.google.com/apis/console/?pli=1#project:804861904040:access
Call back www.genomex.org/post
Add keys
Fill Models and Views, templates
add urls.py
./manage.py syncdb
migrate
Fix templateview
Deploy!
Setting up env in Webfaction
https://github.com/xenith/django-base-template
$ pip install -r requirements/local.txt
$ cp projectname/settings/local-dist.py projectname/settings/local.py
$ python manage.py syncdb
$ python manage.py migrate
$ python manage.py runserver
Edit http apache confg
edit wsgi.py
from site import addsitedir
addsitedir(‘/home/raony/.virtualenvs/cursoder/lib/python2.7/site-packages’)
sys.path.append(‘/home/raony/webapps/cursoder/rcourse’)
requirements/local
requirements/production
Set up Database
python manage.py sync
St up local.py
Redirect uri request
http://genomex.org/complete/google-oauth2/
Found this website a long time ago
https://github.com/pennersr/django-allauth