Cloning the CryoLayer Template Repository
The CryoLayer template repository is available on GitHub at https://github.com/smarterlabs/cryolayer-proxy.
Click the "Use this template" button, then click "Create a new repository". (See GitHub's docs for more info if necessary.)
Clone your new repository and install dependencies with
npm install or
config.js file in the root of your repository. Make sure to set
canonical to the correct values.
For a full list of configuration options, see the Configuration page.
Deploying to Cloudflare Workers
Install the Cloudflare CLI
The Cloudflare CLI is used to deploy your site to Cloudflare Workers. See Cloudflare's docs for installation instructions.
wrangler login and follow the instructions to log in to Cloudflare.
Deploy your site
wrangler deploy to deploy your site to Cloudflare Workers. Your terminal will display a URL where your site is available.
Set your domain to point to your Cloudflare Workers site. See Cloudflare's docs for more info.