GitHub OAuth2 authentication demo project
Launch the demo
Requirements
- python 2.7
- virtualenv
First clone this repository.
Launch the UI
- open a new terminal console
- cd to the
ui
folder of the repository - run
python -m SimpleHTTPServer 8000
Launch the API
- open a new terminal console
- cd to the
api
folder of the repository - run
virtualenv env
- run
source env/bin/activate
- run
pip install -r requirements.txt
- run
gunicorn -b 0.0.0.0:5000 api:app
Try it
- Open your webbrower on http://localhost:8000
- Have fun !