-
Notifications
You must be signed in to change notification settings - Fork 0
Running locally
Adam Hurm edited this page Aug 5, 2024
·
2 revisions
The following instructions are for *NIX machines, but this can just as easily run elsewhere.
# Clone repo
git clone --recursive git@github.com:adamhurm/discord-super-pal-of-the-week.git
cd discord-super-pal-of-the-week
# Create venv and install super-pal dependencies
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
# Install spin-the-wheel dependencies
cd discord-spin-the-wheel
yarn install
# (Replace with the appropriate command for your package manager)
apt install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-devPlease see the How to get Tokens and IDs table for instructions.
SUPERPAL_TOKEN=
WHEEL_TOKEN=
GUILD_ID=
EMOJI_GUILD_ID=
CHANNEL_ID=
ART_CHANNEL_ID=
OPENAI_API_KEY=
GPT_ASSISTANT_ID=
GPT_ASSISTANT_THREAD_ID=
cd discord-super-pal-of-the-week
python3 super-pal.py
cd discord-spin-the-wheel
yarn startFollow this guide first:
Then, follow the guidance for your chosen deployment method: