Giter Site home page Giter Site logo

isomorphic-git-bot's Introduction

isomorphic-git-bot

The code is running live at https://isomorphic-git-bot.glitch.me

Edit / remix the code on https://glitch.com/edit/#!/isomorphic-git-bot.


This is one of the "bots" that use the @isomorphic-git-bot account. Right now all it can do is run 'prettier-standard' against incoming PRs. However in the future it might do other clever things, such as create its own PRs similar to @dependabot.

** Note: If you are reading this on Github, be aware the Github repo is a read-only mirror.**

What follows is the original Probot README.


Welcome to Probot on Glitch

This is the Glitch equivalent of running create-probot-app to generate a new probot app locally. Updates to your code will instantly deploy and update live.


Getting Started

To get your own Glitch-hosted Probot up-and-running, follow these steps. If you need more detail, the Probot Docs are a great place to go to learn more.

  1. Configure a new app on Github.

    • Hit the "Show" button on the top left of this page to find the URL. It will look something like https://random-word.glitch.me/probot, except the domain will be specific to your app.
    • For the Webhook URL, use this URL (again, updating the domain to match yours): https://random-word.glitch.me/. Notice that we left off the /probot.
    • For the Webhook Secret, just use "development". until Step 4.
    • Save your changes.
    • On the Permissions & webhooks tab, add read and write permissions for issues.
    • On the Permissions & webhooks tab, subscribe to Issues events.
    • Save your changes.
    • On the configuration page that comes up after saving, download your private key. It will be saved into a file named my-app-name.2018-06-20.private-key.pem, with your app name, and today's date.
  2. Click the Install tab, and install your app into one of your repositories.

  3. Click the New File button (at left) and type .data/private-key.pem. Then click Add File. Open a terminal, and from your download folder run cat my-app-name.2018-06-20.private-key.pem | pbcopy (except using your app's name and today's date). In the new file in Glitch, paste the contents of the clipboard.

  4. Edit the .env file (at left) with your app credentials.

    • APP_ID can be found in the About section of your Github app.
    • WEBHOOK_SECRET is the value you generated in Step 2.
    • PRIVATE_KEY_PATH= should be set to .data/private-key.pem.
    • NODE_ENV= should be set to production.
  5. Wait for app to load. A green Live label should show up next to the Show button when it's finished loading.

  6. Open a new issue in the repo where you installed your app, and watch for your app to reply!

  7. Head back to our Webhook Docs to learn how to start building your app.


About Glitch

Glitch is the friendly commmunity where you'll build the app of your dreams. Glitch lets you instantly create, remix, edit, and host an app, bot or site, and you can invite collaborators or helpers to simultaneously edit code with you.

Find out more about Glitch.

Glitch is made by Fog Creek \ ゜o゜)ノ

isomorphic-git-bot's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.