Getting The Craft running locally takes only a few minutes. The project has no exotic build requirements — it is a standard Vite + React application, and everything you need ships inside the repository. Follow the steps below to go from a fresh clone to a fully running dev server, then learn where to edit your own content once the site is live.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/apursley2012/the-craft/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Before you begin, make sure the following tools are available on your machine:- Node.js 18 or later — Vite 5 requires Node 18+. Run
node -vto check your version. - A package manager — npm (bundled with Node), yarn, or pnpm all work.
- Git — required to clone the repository.
Setup
Start the development server
Launch the Vite dev server. It opens at Once the server starts you will see output similar to:Navigate to
http://localhost:5173 by default and supports hot module replacement, so changes to any component or CSS file are reflected instantly in the browser.http://localhost:5173 in your browser to see The Craft running locally.Build for production
When you are ready to ship, compile the optimised production bundle. Vite outputs everything into the The output is a fully static SPA — a single
dist/ directory.index.html with hashed JS and CSS assets. No server-side rendering or backend is required.The project uses a standard Vite React setup. No additional configuration is needed — the compiled output in
dist/ is a fully self-contained static SPA with no non-standard plugins or path aliases.Deploying to GitHub Pages
The repository includes a.nojekyll file in its root. This file tells GitHub Pages to serve all files as-is rather than processing the site through Jekyll, which is important because Vite’s asset paths use underscores that Jekyll would otherwise ignore.
To deploy, push the contents of dist/ to the gh-pages branch of your repository, or configure GitHub Pages in your repository settings to serve from the root of the main branch after running the build. A common approach using the gh-pages npm package is:
gh-pages branch automatically.