Skip to content

Commit 0dabc6e

Browse files
committed
update How to Generate or Regenerate
1 parent 404dbf4 commit 0dabc6e

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

src/App.js

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,22 +175,35 @@ function App() {
175175
<Dialog open={openHelpModal} onClose={handleCloseHelpModal}>
176176
<DialogTitle>Help</DialogTitle>
177177
<DialogContent>
178-
<h3>How to Generate a Private Access Token</h3>
178+
<h3>How to Generate or Regenerate a Private Access Token</h3>
179+
180+
<h4>For First-Time Setup:</h4>
179181
<ol>
180182
<li>Go to your GitHub account and navigate to <strong>Settings</strong>.</li>
181183
<li>Under <strong>Developer settings</strong>, select <strong>Personal access tokens</strong>.</li>
182184
<li>Click <strong>Fine-grained tokens</strong>, then <strong>Generate new token</strong>.</li>
183185
<li>Enter a descriptive <strong>Name</strong> for the token.</li>
184-
<li>Set the <strong>Repository Access</strong> scope to include <strong>iDataVisualizationLab/TxDOT</strong>.</li>
185-
<li>Select appropriate permissions (e.g., read/write for releases).</li>
186+
<li>Set the <strong>Repository access</strong> scope to include <strong>iDataVisualizationLab/TxDOT</strong>.</li>
187+
<li>For <strong>Repository permissions</strong>, select <strong>Contents</strong> (Read and write).</li>
186188
<li>Click <strong>Generate token</strong> and copy the token for use.</li>
187189
</ol>
190+
191+
<h4>For Subsequent Uses:</h4>
192+
<ol>
193+
<li>Go to your GitHub account and navigate to <strong>Settings</strong>.</li>
194+
<li>Under <strong>Developer settings</strong>, select <strong>Personal access tokens</strong>.</li>
195+
<li>Click <strong>Fine-grained tokens</strong>, then select the token you previously created for this project (<strong>TxCRCP-ME</strong>).</li>
196+
<li>Click <strong>Regenerate token</strong>, copy the new token, and use it as needed.</li>
197+
</ol>
188198
</DialogContent>
189199
<DialogActions>
190200
<Button onClick={handleCloseHelpModal} color="primary">Close</Button>
191201
</DialogActions>
192202
</Dialog>
193203

204+
205+
206+
194207
<div className={classes.root}>
195208
{/* Home Page */}
196209
<Slide direction="up" in={page === 'home'} mountOnEnter unmountOnExit>

0 commit comments

Comments
 (0)