Ask for Your Website
This is the chapter where your website appears. You will install an AI assistant on your server, describe your site in your own words, and watch it being built.
Goal
By the end of this chapter you will have:
- Claude Code running on your server,
- a live ForgeCMS website, with HTTPS if you have a domain,
- an idea of how to talk to the AI so that it builds what you mean.
What Claude Code is
Claude Code is an AI assistant from Anthropic that works in a terminal. Unlike a chat on a website, it can act: install programs, write files, start services, read error messages and fix them. On your server it does the work a system administrator and a web developer would do, while you describe the result.
You need an account at Anthropic. You can use a Claude subscription or pay per use with an API account. See claude.ai for the current plans.
Step 1: Install Claude Code
Log in to your server as in the last chapter, then run the installer:
curl -fsSL https://claude.ai/install.sh | bash
Close the connection (exit) and log in again, so the new command is found. Then check:
claude --version
If the installer has changed by the time you read this, the current command is in the Claude Code documentation at docs.anthropic.com.
Step 2: Sign in
Start Claude Code:
claude
The first time, it asks how you want to sign in. Your server has no browser, so Claude Code shows a link. Copy it, open it in the browser on your own computer, sign in there and confirm. The browser shows a code; paste it back into the terminal. From then on, the server stays signed in.
If you use an API key instead, Claude Code asks for it, or you put it into the environment before starting:
export ANTHROPIC_API_KEY="sk-ant-..."
Step 3: Describe your website
Now you talk to the AI. A good first request has three parts: what to set up, what the site is about, and what you want to know at the end. Here is the one I use. Copy it, change the parts in capitals, and paste it into Claude Code:
Please set up a website for me with ForgeCMS on this server.
1. Clone https://codeberg.org/CrowdWare/ForgeCMS, read AI.md and README.md,
and build ForgeCMS with ./run.sh sms-cms.
2. Create my site as its own project (app.sml, theme.sml, pages, texts),
not inside the ForgeCMS source folder.
3. My site: A FAMILY BAKERY IN WITTENBERG. Pages: home, our bread (a price
list), opening hours, legal notice. Language: ENGLISH, later also GERMAN.
Style: WARM, BROWN, A SERIF FONT.
4. Run ForgeCMS as a service that starts on boot, behind Caddy with HTTPS
for MYBAKERY.COM (and www). If DNS is not ready yet, use the IP first.
5. At the end, tell me in plain words: the address of the site, where the
files are, and how I change a text later.
Already have a website? Then point at it instead of describing it. Replace part 3 of the request with: "My site: take the content from https://my-old-site.example and the design from https://a-site-i-like.example." The AI reads both and rebuilds your site with ForgeCMS. Chapter 18 shows this in detail. The content must be yours; the other site only lends its look.
Then watch. Claude Code tells you what it is about to do and asks for your permission before it runs commands. Read the questions; when they look right, allow them. The first time you can allow a kind of command for the whole session, so you are not asked again for every small step.
Building ForgeCMS, installing Caddy and writing the first pages takes ten to thirty minutes. Get a coffee.
Step 4: Look at it
When Claude Code is done, it gives you the address. Open it in your browser. With a domain and working DNS it is https://mybakery.com; otherwise http:// and your server's IP.

This is the example site of this book. Yours will look different, because you described something different. That is the point.
Step 5: Change things by asking
Stay in the same conversation and ask for changes, one at a time:
Make the opening hours a table with one row per day.
The heading on the home page should say "Fresh bread since 1987".
Add a page "Catering" with a short text, and put it in the menu after "Our bread".
Every time, look at the result in the browser before you ask for the next thing. Small steps are faster than one long wish list, because you can see each change and correct it right away.
How to talk to the AI
After building many sites this way, these habits work best:
- Describe the result, not the technique. "The phone number should be easy to find on a phone" is better than "add a sticky header with a tel: link". The AI knows the technique; you know what your visitors need.
- Show, don't explain. "Like the menu on example.com" or a screenshot says more than a paragraph.
- One change at a time. Look, then ask for the next one.
- Say when something is wrong. "That looks too crowded" or "the text on the picture is hard to read" is enough. The AI will suggest a fix.
- Ask why. "Why did you put this in app.sml and not on Codeberg?" Over time you will understand your own site.
- Keep your words, not the AI's. The texts on your site should sound like you. Let the AI build the structure, and write or at least rewrite the texts yourself.
Pitfalls
- The site does not open, but Claude says it is running: almost always the provider's firewall (ports 80 and 443, chapter 3) or DNS that is not ready yet. Ask: "The site does not load from outside. Please check the firewall, Caddy and DNS."
- No HTTPS: Caddy can only get a certificate when the domain already points to your server. Wait for DNS, then ask Claude to try again.
- The conversation got long and confused: start Claude Code again (
exit, thenclaude) and describe the current state in two sentences. A fresh start often helps. - You closed the SSH window in the middle of a task: log in again, start
claude, and ask it to check what is finished.
What you learned
- Claude Code is an AI assistant that works on your server: it installs, builds and writes files.
- One clear first request gets you a running site, with HTTPS when the domain is ready.
- Changes are requests in plain words. Small steps, and look after each one.
Your site is live. In the next chapter you learn to change its texts yourself, in the browser, without the AI.
