Skip to content

wasmithee/pages-blog2

Repository files navigation

$\definecolor{cf-orange}{RGB}{246, 130, 31}\definecolor{cf-blue}{RGB}{0, 85, 220}\textcolor{cf-orange}{\textsf{Assignment 6}}$ - Create A Pages Website

Copy, Configure and Deploy a Pages website that showcases Workers you’ve created.

  1. Clone the pages-blog-template repository. (click: Use this template)
  2. Run npm install inside of the cloned repository’s directory
  3. Create triggers for each of your workers:
    • $[\textcolor{cf-orange}{\textsf{WORKER NAME}}].[\textcolor{cf-blue}{\textsf{BASE DOMAIN}}]$ (e.g. $\textcolor{cf-orange}{\textsf{code-club-3}}.\textcolor{cf-blue}{\textsf{example.com}}$)
  4. In the cloned repository add a .env file (or modify existing) so that the base domain for your workers is specified.
    • BASE_DOMAIN=example.com
  5. Check in the updated repository to GitHub using Git.
  6. Deploy the pages site specifying the GitHub repository you created. And the following settings:
    • Framework preset: Nuxt.js
    • Environmental variables:
      • NITRO_PRESET : cloudflare
      • NODE_VERSION : 16.15.1
      • NPM_VERSION : 8.11.0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published