- Clone the repository.
- Create a GitHub OAuth app[ https://docs.github.com/en/developers/apps/building-oauth-apps/creating-an-oauth-app ]
- set homepage url to http://localhost:3000 and callback url to http://localhost:3000/github/callback.
- Check the npm versions required in the
package.json
file. - Run yarn install to build the dependencies.
- Make .env file that has GITHUB_CLIENT_ID=client_id and GITHUB_CLIENT_SECRET=client_secret from the Github OAuth app.
- Run
npm run start
to start the server.
- Go to
http://localhost:3000
orhttps://truefoundry-github_integration.herokuapp.com
. - Click on
Create a Github repository
, authorize the app - this will create a repo with name
Bias-Variance-Tradeoff-app
by using the template present inayushsharma-crypto/Bias-Variance-Tradeoff
.
You click on Create a Github repository
-> It takes you to the authorization page -> Repository with sample files are created.