Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cmd-johnson/github-report-generator
Generate reports from your git issues
https://github.com/cmd-johnson/github-report-generator
Last synced: about 1 month ago
JSON representation
Generate reports from your git issues
- Host: GitHub
- URL: https://github.com/cmd-johnson/github-report-generator
- Owner: cmd-johnson
- License: mit
- Created: 2015-11-15T15:45:07.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-21T13:34:22.000Z (about 9 years ago)
- Last Synced: 2024-10-13T22:52:42.599Z (2 months ago)
- Language: JavaScript
- Size: 22.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
GitHub Report generateReport
============================A `node.js` application for generating reports out of GitHub issues of repositories you are contributing to.
Installation
------------Make sure you have a up-to-date `node.js` installation, clone the repository, switch to the repo's root directory and run `npm install`.
Setup
-----First, you'll need to register a GitHub application for this app to work. You can do that [here](https://github.com/settings/applications/new). Make sure to set the `Authorization callback URL` to `http://[your.domain]/login/callback`.
Now you should adjust the config files. Open `config/github.json` and enter the data of your GitHub application (`clientID`, `clientSecret` and `callbackUrl`). The `userAgent` parameter is later used to make requests to the GitHub API (it rejects all requests without a user-agent set, see [here](https://developer.github.com/v3/#user-agent-required) for more information).
When you're done setting up the GitHub configuration, open `config/server.json`. Here you can change on what port the application will listen, along with the base-url that will later be used to build the links presented by the app's REST API. The session secret will be used to encrypt the session cookies used to remember the logged in user.
Running the app
---------------After configuring the application, you should be good to go. Simply run `npm start` or `node app.js` to run it. When you're working on the app's code, I recommend using [`nodemon`](https://www.npmjs.com/package/nodemon) to automatically restart the app after changes. Install it globally by running `npm install -g nodemon`, then run the app using `nodemon app.js`.