-
-
Notifications
You must be signed in to change notification settings - Fork 3
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.
- Fork this repo
- Go to https://dash.deno.com
- Click New Project
- Select your fork of Packs
- Go down to
Build step
and pastedeno task build
- Go down to
Entrypoint
and selectmain.ts
- Click Deploy Project
- Wait for it to finish.
- 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)
- Go to the dev portal
- Go to OAuth tab on your app
- Find
Redirects
- Add
https://deno_id.deno.dev/callback
(replace deno_id with your packs deno id) - Click save