mirror of
https://github.com/reiyua/github-profile-trophy-reiyua-mirror.git
synced 2026-11-17 06:02:09 +11:00
Added GITHUB_API to CONTRIBUTING.md docs
This commit is contained in:
parent
cb9b077fca
commit
fdf98a1c0e
1 changed files with 8 additions and 4 deletions
|
|
@ -11,13 +11,17 @@
|
||||||
Create `.env` file to project root directory, and write your GitHub token to the `.env` file.
|
Create `.env` file to project root directory, and write your GitHub token to the `.env` file.
|
||||||
Please select the authority of `repo` when creating token.
|
Please select the authority of `repo` when creating token.
|
||||||
|
|
||||||
```
|
```properties
|
||||||
GITHUB_TOKEN=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
GITHUB_TOKEN=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
||||||
|
|
||||||
|
# if using GitHub Enterprise:
|
||||||
|
# (this env var defaults to https://api.github.com/graphql)
|
||||||
|
GITHUB_API=https://github.example.com/api/graphql
|
||||||
```
|
```
|
||||||
|
|
||||||
Run local server.
|
Run local server.
|
||||||
|
|
||||||
```
|
```sh
|
||||||
deno run --allow-net --allow-read --allow-env debug.ts
|
deno run --allow-net --allow-read --allow-env debug.ts
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -33,6 +37,6 @@ Read the [.editorconfig](./.editorconfig)
|
||||||
|
|
||||||
If you want to contribute to my project, you should check the lint with the following command.
|
If you want to contribute to my project, you should check the lint with the following command.
|
||||||
|
|
||||||
```
|
```sh
|
||||||
deno lint --unstable
|
deno lint --unstable
|
||||||
```
|
```
|
||||||
Loading…
Add table
Reference in a new issue