Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# JetBrains
.idea

# Other
lib-cov
*.seed
*.log
Expand All @@ -17,3 +21,4 @@ node_modules
key.txt

graph-data.json

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ DOWNLOAD + RUN LOCALLY
4. Register an application on Github
(Authorization callback URL: http://localhost:3000/auth/github)

5. In lib/config.js replace config.gh_clientId and config.gh_secret with the app's id and secret
5. Export the environment variables `ISSUE_GRAPH_GITHUB_ID` and `ISSUE_GRAPH_GITHUB_SECRET` with the app's id and secret.

6. `$ node lib/server.js`
6. `$ npm start`

7. Point your browser to http://localhost:3000
6 changes: 3 additions & 3 deletions lib/config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var config = {};

config.gh_clientId = "3767b3e501e7804d2f60";
config.gh_secret = process.env.SECRET;
config.gh_clientId = process.env.ISSUE_GRAPH_GITHUB_ID;
config.gh_secret = process.env.ISSUE_GRAPH_GITHUB_SECRET;

module.exports = config;
module.exports = config;
Loading