Thumpo

Website Deployment

The Thumpo landing page and policy pages are static HTML/CSS files located in the site/ directory. They are hosted on Cloudflare Pages.

Quick Start

To deploy the website to production, execute the deployment script from the project root:

npm run site:deploy

How It Works

The site:deploy command is configured in package.json:

npx wrangler@4 pages deploy site --project-name thumpo --branch master

When run, Wrangler performs the following steps:

  1. Gathers all static assets inside the site/ directory (HTML pages, CSS, icons, fonts).
  2. Authenticates with Cloudflare Pages under the thumpo project name.
  3. Deploys the files to the production environment associated with the master branch.

Prerequisites

Local Testing Before Deployment

Before deploying to production, test changes locally by inspecting the HTML files or running a local static server:

npx serve site

Or using Python's built-in HTTP server:

python3 -m http.server -d site 8080