Skip to content

Latest commit

 

History

History
 
 

app-issue-creator

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

app-issue-creator

This is the sample project that walks through creating a GitHub App and configuring a server to listen to installation events. When an App is added to an account, it will create an issue in each repository with a message, "added new app!".

Requirements

Set up a GitHub App

Install and Run project

Install the required Ruby Gems by entering bundle install on the command line.

Set environment variables GITHUB_APP_ID and GITHUB_APP_PRIVATE_KEY. For example, run the following to store the private key to an environment variable: export GITHUB_APP_PRIVATE_KEY="$(less private-key.pem)"

To start the server, type ruby server.rb on the command line.

The sinatra server will be running at localhost:4567.