Skip to content

Self‐hosting

Kerolos Zaki edited this page May 11, 2024 · 5 revisions

Our team does not provide support about self-hosting and won't help you setup self-hosted instances, asking for help in the discord server is only allowed if you find an issue or something missing from this wiki, please read carefully.

Deno Deploy

  1. Fork this repo
  2. Go to https://dash.deno.com
  3. Click New Project
  4. Select your fork of Packs
  5. Go down to Build step and paste deno task build
  6. Go down to Entrypoint and select main.ts
  7. Click Deploy Project
  8. Wait for it to finish.
  9. Click Add environmental variables and then add the following:
  • API_ENDPOINT is your Fable bot interactions url plus /api at the end (eg https://fable.deno.dev/api) (required)
  • DISCORD_CLIENT_ID is your discord app client id (required)
  • DISCORD_CLIENT_SECRET is your discord app client secret (required)

Enable Discord logging

  1. Go to the dev portal
  2. Go to OAuth tab on your app
  3. Find Redirects
  4. Add https://deno_id.deno.dev/callback (replace deno_id with your packs deno id)
  5. Click save
Clone this wiki locally