Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 623 Bytes

README.md

File metadata and controls

31 lines (25 loc) · 623 Bytes

oauth

The PHP script is from here.

General Setup

Go to https://github.com/settings/developers, create a new OAuth App, and put your client ID and client secret in an .env file.

Contents of your env file should be:

GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=

Setup for PHP app

Run the index.php file

php -S localhost:8000

Setup for Python app

Install pip requirements

pip3 install -r requirements.txt

Run the index.py file

python3 index.py 

Final step

View http://localhost:8000/ in your browser!