Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 729 Bytes

README.md

File metadata and controls

38 lines (24 loc) · 729 Bytes

Adding Social Authentication to Django

Want to learn how to build this?

Check out the post.

Want to use this project?

  1. Fork/Clone

  2. Create and activate a virtual environment:

    $ python3 -m venv venv && source venv/bin/activate
  3. Install the requirements:

    (venv)$ pip install -r requirements.txt
  4. Apply the migrations and create a superuser:

    (venv)$ python manage.py migrate
    (venv)$ python manage.py createsuperuser
  5. Create OAuth apps on GitHub and Twitter.

  6. Register the providers in the Django admin.

  7. Run the server:

    (venv)$ python manage.py runserver