872 B
872 B
Spike
Installation
- Clone this repository, d'uh.
- You need to have bun installed.
- Install deps with
bun install. - Setup a dummy Discord bot and get your DISCORD*TOKEN and CLIENT_ID at https://discord.com/developers/applications *(Corey doesn't remember how to do this all this, so if pair with him if you run into problems. Then document it in here).
cp .env.example .envand fill in the values for everything.- Find a Discord channel id to use for testing and set it in
.envasDISCORD_CLIENT_ID. - Run
bun run subdomain:devto start the server. - Visit
localhost:3000/discord/authto authorize the bot. - Use ngrok or tailscale to create a tunnel to your local server.
- Setup a Gitea webhook to point to your ngrok url at
https://git.nose.space/user/settings/hooks. remember the url ends with /gitea/webhook!