Skip to content

Commit

Permalink
Remove GITHUB_USERNAME from the readme (rust-lang#1372)
Browse files Browse the repository at this point in the history
* Remove GITHUB_USERNAME from the readme

It's no longer used.

* Improve wording

Co-authored-by: Denis Cornehl <denis@cornehl.org>

* minor wording improvements

Co-authored-by: Denis Cornehl <denis@cornehl.org>
  • Loading branch information
jyn514 and syphar authored Apr 21, 2021
1 parent 20aa706 commit 84a3db0
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,12 +187,11 @@ cargo run -- build crate --local /path/to/source
# Adds a directory into database to serve with `staticfile` crate.
cargo run -- database add-directory <DIRECTORY> [PREFIX]

# Updates github stats for crates.
# You need to set CRATESFYI_GITHUB_USERNAME, CRATESFYI_GITHUB_ACCESSTOKEN
# environment variables in order to run this command.
# Set DOCSRS_GITLAB_ACCESSTOKEN to raise the rate limit,
# Updates repository stats for crates.
# You need to set the CRATESFYI_GITHUB_ACCESSTOKEN
# environment variable in order to run this command.
# Set DOCSRS_GITLAB_ACCESSTOKEN to raise the rate limit for GitLab repositories,
# or leave it blank to fetch repositories at a slower rate.
# You can set this environment variables in the .env file.
cargo run -- database update-repository-fields
```

Expand Down

0 comments on commit 84a3db0

Please sign in to comment.