Skip to content
This repository has been archived by the owner on Aug 10, 2024. It is now read-only.

Latest commit

 

History

History
77 lines (39 loc) · 2.16 KB

INSTALL.md

File metadata and controls

77 lines (39 loc) · 2.16 KB

Full Installation Guide

⚠️ 70% complete - WORK IN PROGRESS ⚠️

Steps

1. Fork this repository

  1. Log into GitHub.

  2. Navigate to the main Contrails page and click the Fork button.

  1. Proceed with instructions until your GitHub user has a fork of Contrails.

2. Create Cloudflare API Token

These instructions are an excerpt from Running Wrangler in CI/CD.

  1. Log in to the Cloudflare dashboard. At the top-right, navigate to My Profile, and then API Tokens. Click on Create Token.

  2. Select Use template next to Edit Cloudflare Workers.

  1. Set the Account Resources. If this Cloudflare account is only for this project, you can choose "All accounts" and "All zones."

  1. Click on Continue to summary.

  1. Click on Create Token.

  1. Copy and save the token, as you will need it in the next step.

3. Save Cloudflare API Token to Repository Secrets

In your GitHub repository, go to Settings > Secrets and variables > Actions.

Click on New repository secret, and add CLOUDFLARE_API_TOKEN.

4. Create Cloudflare Application

  1. Go to Cloudflare Dashboard > Workers & Pages.

  1. Click on Create Application.

Click Deploy

  1. set CLOUDFLARE_WORKER_NAME

  1. set CLOUDFLARE_ACCOUNT_ID