paulwinex / django-simple-sso-email-user

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Install Server

  1. Create virtualenv

  2. pip install -t requirements.txt

  3. Add parameter to the settings.py

    IS_SSO_SERVER = True

    (by default this parameter equal true if environment variable IS_SSO_SERVER is exists)

  4. Init database ./init.sh

  5. Start ./manage.py runserver 0.0.0.0:8000

Install Client

  1. pip install requirements.txt

  2. Init database ./init.sh

  3. Start ./manage.py runserver 0.0.0.0:8001

Test login

  1. Go to http://0.0.0.0:8001/login/

  2. use login: admin and password: 123

Deploy

Use this project as template. Don't try inherit both apps from single project!

About


Languages

Language:Python 90.0%Language:HTML 7.8%Language:Shell 2.2%