First site in ten minutes

· updated · 1 min read

Node 20+, pnpm, and a clone of the FilePress engine (or a pin of getfilepress).

Scaffold

cd filepress
pnpm install
pnpm create-site my-blog --external ../my-blog \
  --title "My Blog" \
  --url https://my.blog

That writes a sibling folder with filepress.config.ts, starter posts/, pages/, and:

{
  "devDependencies": {
    "getfilepress": "link:../filepress"
  }
}

Run it

cd ../my-blog
pnpm install
pnpm dev

Open the URL Vite prints. Stamp a post:

filepress new "Hello"

Or write posts/YYYY-MM-DD-hello.md by hand. Config and frontmatter: Getting started.

pnpm build      # → ./build/
pnpm preview    # serve build/, no Genie

For CI, swap link: for a pinned npm version (^0.1.29) — Deploy. FilePress does not create the host.