Skip to content

Latest commit

 

History

History
73 lines (42 loc) · 1.81 KB

README.md

File metadata and controls

73 lines (42 loc) · 1.81 KB

rvt.app

Production Preview Coverage

rvt-app displays the basic Revit RVT or RFA file information contained in BasicFileInfo in the browser using TypeScript.

You can try it out by simply dropping an RVT BIM file into the rvt.app web site.

Development

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

Setup

Cloudflare API token

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.