- install wrangler
- create a new cloudflare KV namespace named
arg_cdn
- place KV info into
wrangler.toml
- place your cloudflare account id into
wrangler.toml
- create a discord bot
- add your discord bot token using
npx wrangler secret put DISCORD_TOKEN
, and then enter the token when prompted - run
npx wrangler deploy
- ensure you have the wasm32-unknown-unknown target installed for rust
- add discord bot token to
.dev.vars
- run
npx wrangler dev