This is a Next.js project bootstrapped with create-next-app
.
The app needs you to provide some secrets as a local .env.local
file.
You'll need an Discord API key, which you can get from here
Set it up as follows
DISCORD_CLIENT_ID=<< Client ID >>
DISCORD_CLIENT_SECRET=<< Client Secret >>
NEXTAUTH_SECRET=<< Random Secret >>
Install the requirements from the package.json
file with
npm install
Run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.
Docker image dependencies are defined in the Dockerfile
Dependencies and trigger is defined in docker-compose.yaml
file
To build the image, run
./build.sh
This will create the base image and start the container for you