Cloudflare
LaunchCode uses Cloudflare to store and deliver course images. The configuration can be found in the src/lib/uploadHelper.ts
file.
Configure the Cloudflare API keys using this link (opens in a new tab) and add them to your .env.local
file. Please note that the image service costs $5:
CLOUDFLARE_API_TOKEN=your_token
CLOUDFLARE_ACCOUNT_ID=your_account_id
CLOUDFLARE_ACCOUNT_HASH=your_hash
We store course images, videos, and files on the R2 server. Create an R2 server using this link (opens in a new tab):
R2_ACCESS_KEY_ID=your_key
R2_SECRET_ACCESS_KEY=your_secret_key
R2_BUCKET_NAME=your_buket_name
Note:
Detailed configuration will be available after your purchase.