-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: use pem key as an env var & readme to contribute
- Loading branch information
1 parent
b58a70e
commit ee113ab
Showing
6 changed files
with
60 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,47 @@ | ||
oss.gg 🕹️ | ||
# oss.gg 🕹️ | ||
|
||
## Run Locally | ||
|
||
1. Clone the project | ||
|
||
```bash | ||
git clone https://github.com/formbricks/oss.gg.git | ||
cd oss.gg | ||
``` | ||
|
||
2. Install dependencies | ||
|
||
```bash | ||
pnpm install | ||
``` | ||
|
||
3. Copy `.env.example` to `.env` and fill in the required environment variables | ||
|
||
```bash | ||
cp .env.example .env | ||
``` | ||
|
||
> The Github Env Vars (incl the webhook secret) can be accessed from your GitHub App Settings | ||
4. Start the server | ||
|
||
```bash | ||
pnpm dev | ||
``` | ||
|
||
5. Run the Webhook Proxy | ||
|
||
```bash | ||
smee --url https://smee.io/<your-smee-path> --path /api/github-webhook --port 3000 | ||
``` | ||
|
||
## GitHub App Configuration | ||
|
||
- Callback URL: `http://localhost:3000/api/auth/callback` | ||
- Setup URL: `http://localhost:3000/select-repo` (Check the **Redirect on Update** option) | ||
- Webhook set to Active and get a URL from `https://smee.io/` by clicking on **Start a new channel** and then paste the URL in the Webhook URL field. | ||
- Disable SSL verification for now | ||
- Generate a Client Secret and keep it in the `.env` file | ||
- Generate a Private Key and keep it in the `.env` file | ||
- Copy the Client ID and keep it in the `.env` file | ||
- Now Hit the **Save Changes** button |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters