- Docker and Docker Compose (for Docker deployment)
- Node.js and npm (for local deployment)
- Install Docker and Docker Compose on your system
- Create a
.env
file with your environment variables:
DISCORD_BOT_TOKEN=your_discord_bot_token
SUPABASE_URL=your_supabase_url
SUPABASE_SERVICE_ROLE_KEY=your_supabase_key
- Build and run the container:
docker-compose up -d
To view logs:
docker-compose logs -f
To stop the bot:
docker-compose down
- Install Node.js dependencies:
npm install
- Create a
.env
file in the root directory with your environment variables - Start the bot:
node index.js