discord-ani-schedule
- Rust: Required for local builds. Install Rust by following the official instructions here: Install Rust.
- Docker: Required for containerized builds. All dependencies are already defined in the Dockerfile.
Create a config.json
file first.
{
"discord_token": "your_discord_token_here"
}
Execute the following commands to build and run locally:
cargo build && \
./target/debug/discord-ani-schedule
To create and run a debug build using Docker:
docker build --target build-debug -t discord-ani-schedule:debug . && \
docker run --init -it --rm -v ./config.json:/config.json discord-ani-schedule:debug
For an optimized production build in a minimal container:
docker build --target release -t discord-ani-schedule:latest . && \
docker run --init -it --rm discord-ani-schedule:latest