Skip to content

Commit

Permalink
In CONTRIBUTING.md, add more specifics on configuring API token #194
Browse files Browse the repository at this point in the history
  • Loading branch information
hariprakash619 authored and lwasser committed Feb 13, 2025
1 parent 0baa154 commit 2df6464
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,19 @@ pip install -e ".[dev]"
To run this you need to [create a TOKEN that can be used to access the GitHub
API.](https://docs.github.com/en/rest/guides/getting-started-with-the-rest-api?apiVersion=2022-11-28#about-tokens)

In GitHub, click on your profile image and navigate to "Settings", and then
"Developer Settings".

![Image of GitHub Developer Settings page](images/developer_settings.png "Developer Settings page")
<br/><br/>
Create a new fine-grained personal access token, adding a name, expiration,
description, and ensure the "Repository Access" is set to "Public Repositories
(read-only)". No other configuration needed. At the bottom of the page, click
"Generate token".

![Image of personal access token](images/token.png "Token configuration page")
<br/><br/>

After obtaining a token;

1. Duplicate the `.env-default` file and rename the copy to `.env`
Expand Down
Binary file added images/developer_settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/token.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2df6464

Please sign in to comment.