Display Revit file information in the browser
Install fnm or nvm (nvm-windows)
Install Node.js
fnm use
Install pnpm
corepack enable
corepack prepare --activate
Install packages
pnpm i
Watch
pnpm dev
Test
pnpm test
pnpm test:dev
End-to-End tests
pnpm playwright install chromium
pnpm test:e2e --project=chromium
pnpm test:e2e:dev --project=chromium
Deploy
pnpm build
pnpm run deploy
pnpm run deploy:production
Stream logs
pnpm tail
pnpm tail:production
List deployments
pnpm wrangler pages deployment list
Create a personal API token for Terraform with the following permissions
- Account / Cloudflare Pages / Edit
- Zone / DNS / Edit
Copy the token into your Terraform Cloud Workspace variables as cloudflare_api_token
(sensitive).
Create a API token for GitHub with the following permissions
- Account / Cloudflare Pages / Edit
Copy the token into your GitHub Action Secrets as CLOUDFLARE_API_TOKEN
.