From fdf98a1c0e2b1af308fbd07af7658474d8716cf5 Mon Sep 17 00:00:00 2001 From: Kalle Fagerberg Date: Fri, 12 Aug 2022 17:10:56 +0200 Subject: [PATCH] Added GITHUB_API to CONTRIBUTING.md docs --- CONTRIBUTING.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f9ce384..1e78136 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -11,13 +11,17 @@ 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. -``` +```properties 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. -``` +```sh 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. -``` +```sh deno lint --unstable -``` \ No newline at end of file +```