Skip to content

Commit

Permalink
docs(probot): adding more instructions to readme (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
aatmmr authored Oct 23, 2024
1 parent 22f3e3e commit e4a975d
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/probot/example-app/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# example-app
# Probot Example App

> A GitHub App built with [Probot](https://github.com/probot/probot) that An example Probot App.
A GitHub App built with [Probot](https://github.com/probot/probot) that represents an example Probot App. It creates the local application using Javascript ([index.js](index.js)) listening to the `"issues.opened"` event on GitHub and commenting on the created issue once it is opened. The app also sets up an [smee.io](https://smee.io) channel which can be used to observe the webhook event.

## Setup

Expand All @@ -11,6 +11,9 @@ npm install
# Run the bot
npm start
```
Once stared, the app is available at `localhost:3000`. On the first start, the app will ask you to create a GitHub App. Do so and select the target user namespace or organisation. Probot takes care of all configurations. Custom settings, such as, repository access can be made once the GitHub App finished installing. After everything is set, restart the local app and reopen `localhost:3000`. The Probot app is now up and running and ready for testing.

## Use the App

## Docker

Expand All @@ -26,8 +29,4 @@ docker run -e APP_ID=<app-id> -e PRIVATE_KEY=<pem-value> example-app

If you have suggestions for how example-app could be improved, or want to report a bug, open an issue! We'd love all and any contributions.

For more, check out the [Contributing Guide](CONTRIBUTING.md).

## License

[ISC](LICENSE) © 2024 @spindev
For more, check out the [Contributing Guide](../../../CONTRIBUTING.md).

0 comments on commit e4a975d

Please sign in to comment.