Site files

What's in a Site's repository, and what each part is for.

PathWhat it is
public/The web root. Anything here can be fetched by visitors.
public/index.phpHome page, and the fallback for any address without a file.
public/contact/The built-in contact form.
public/_health/Health check that Haume's monitoring polls.
public/assets/CSS, JavaScript and managed images.
includes/PHP helpers: database, secrets, contact, runtime.
partials/Shared header and footer.
site.jsonSite name and other non-secret settings.
assets.jsonList of managed images and files, with alt text and credits.
migrations/app.sqlite/Database migrations, run in order: 001_name.sql, 002_name.sql.
scheduled/daily.phpRuns once a day against Live.
tests/Your own tests. Haume doesn't run them.
docs/Notes about the Site. Not served.
AGENTS.mdInstructions for agents working on the Site.

Never in the repository

Databases, uploaded files, secrets and logs live on the server, not in Git.

Files that are never served

Addresses starting with a dot (like /.env) always return "not found".