GithubHelp home page GithubHelp logo

richardsonjf / server Goto Github PK

View Code? Open in Web Editor NEW

This project forked from robb-oat/server

0.0 1.0 0.0 3.23 MB

Robb Oat is a robot software engineer.

Home Page: https://robboat.com

License: Other

Shell 1.84% Python 65.98% CSS 3.94% Makefile 0.60% HTML 25.31% Dockerfile 2.34%

server's Introduction

Development Setup

Want to use Robb Oat in your repo? Install the app. Want to hack on Robb Oat itself? Read on.

OpenAI

Sign up and request access to Codex. You'll need your Organization ID and an API key.

GitHub

Create your own dev GitHub App with this config:

Key Value
GitHub App name some variation of "My Robb Oat Dev App"
Homepage URL https://github.com/robb-oat/server
Webhook URL whatever https://smee.io/new gives you
Permissions Repository - "Read and Write" for Contents, Issues, and Pull Requests
Subscribe to events Issue comment, Issues, Pull Request *

Generate a private key. You'll use it to configure your local server in a minute. Also note your App ID.

Fork this repo and install your dev app on your fork. Turn on issues in your fork so you can test out Robb Oat there.

install example

Local

To build (requires Python 3):

make

Required config in local.env:

OPENAI_ORG_ID=<see above>
OPENAI_API_KEY=<see above>
GITHUB_APP_ID=<see above>
GITHUB_APP_PRIVATE_KEY=<see above> # fold to one line, and don't include the '---- BEGIN/END ----'

Optional config in local.env:

DJANGO_SENTRY_DSN=<go get one at sentry.io>

To setup the database:

./dev migrate

To run locally:

./dev

Install a smee client such as gosmee:

brew tap chmouel/gosmee https://github.com/chmouel/gosmee
brew install gosmee
gosmee <webhook URL> https://localhost:8000

Usage

Now you can try it out! Create an issue in your fork, and if all goes well you should see a pull request from your dev app in under a minute. Robb Oat attempts to fix all issues it understands, which are issues that start with a link to code on GitHub followed by a blank line followed by instructions to change the linked code.

For a good hello world create an issue with content like this:

https://github.com/${username}/${fork-name}/blob/${sha}/robboat/templates/homepage.html#L6

Say program instead of friend, and use a different emoji.

Here's an example. To troubleshoot, use your smee.io dashboard or the "Advanced" tab on your dev app.

advanced tab

Happy hacking!

server's People

Contributors

chadwhitacre avatar

Watchers

 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.