Documentation menu

Documentation › Set up (developers)

Hand a site over to an editor

A short checklist for the developer or agency handing a site to the people who edit it — names, the live address, where publishes go, what the assistant may touch, and one round trip together.

Start here when you build a site and hand it to someone else to edit. Galley works with no set-up at all; each step below removes a question your editor would otherwise ask you.

Link to this section: The checklist

  1. See what Galley found. Run galley doctor in the site's folder. Read the collection names as your editor will see them.

  2. Name things in their words. Run galley init to write galley.config.json, then fix the labels:

    {
      "collections": [
        { "id": "blog", "label": "Journal", "singular": "post" }
      ]
    }

    Fields can have a label, help text, a fixed list of options, or be hidden (Collections and fields).

  3. Give it the live address, so Proof shows the change beside the live page. On Astro, site in astro.config is read for you, unless it's a placeholder like https://www.example.com.

  4. Decide where a publish goes. By default it is a commit and a push. To review changes first, use pull requests instead (Publishing). Either way, the computer Galley runs on must be able to push.

  5. Decide what the assistant may touch. Content mode — pages and pictures — is the default. To keep build mode off on this site, set "ai": { "allowBuild": false }. A writing guide such as CONTENT-GUIDE.md, listed in ai.instructions, is read before every request (Assistant instructions).

  6. Move copy out of components. Words written inside an .astro component can't be edited as content — on the page they show as part of the site's design. Put them in a file under src/data/ (Making a site easy to edit).

  7. Choose how they'll run it: the desktop app on their own computer, a shared Galley online, where each person has their own account, or the command line. On each computer, set the publishing name in App settings › You.

  8. Do one round trip together. Change a heading, check it in Proof, publish, find it in Version history, and undo it. That proves the sign-in, the branch and the live address before you leave.

Link to this section: If something's different

  • The site is for a client who pays for their own assistant. Give the site its own key in its Settings › Connections.
  • allowBuild is not access control. Anyone who can sign in to Galley can still change source files through the API (Security).

Link to this section: Next

  1. Find your way around — send this to your editor.
  2. Prompt, proof, publish — the loop, for explaining it.
  3. Security — for whoever approves the set-up.