From 84a155458649632d5d025c0866f893fdc8eab9f0 Mon Sep 17 00:00:00 2001 From: Keyrxng <106303466+Keyrxng@users.noreply.github.com> Date: Fri, 15 Nov 2024 20:54:30 +0000 Subject: [PATCH] chore: update readme instructions --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index fea8d1d..7367859 100644 --- a/README.md +++ b/README.md @@ -48,3 +48,16 @@ The browser automatically URI encodes it: ``` ###### Example from `command-start-stop/manifest.json` + + +## How to run + +1. Clone the repository +2. Run `yarn` to install dependencies +3. OAuth: Obtain your _GitHub App_ client ID and secret from your `UbiquityOS` app fork, and set the callback URL to match the one given by Supabase when enabling GitHub provider OAuth. (You use your `UbiquityOS` instance because we check for installs against the authenticated user's organizations that they own.) +4. Replace the hardcoded `SUPABASE_URL` and `SUPABASE_KEY` in `build/esbuild-build.ts` with your Supabase URL and key (Optionally use `.env` and use `process.env` instead.) +5. Run `yarn start` and visit `localhost:8080` in your browser. +6. Once logged in you should see the orgs that you own that currently have your forked `UbiquityOS` app installed. +7. Select an org > select a config (dev | prod) > select a plugin > edit/add/remove > push to GitHub. + +TODO: Update readme with a better overview of the project.