What the setup shows
Every screen of npm run setup, written out: a whole run of “Set up everything, in order” on
Cloudflare, with a made-up directory’s answers, then what a failed step looks like. For reference, and
for anyone helping someone through it.
qa:setup checks this page against the setup itself, so it can’t fall out of date: after changing the
setup’s words, SETUP_UPDATE_SCREENS=1 npm run qa:setup rewrites it.
How to read it, as the terminal shows each screen once it’s answered: ◇ a question with the answer chosen (●) or typed under it, a step finished, or a box of information; ◆ something done; ● a note; ▲ a warning; ■ a problem. Hidden answers show as dots.
Set up everything, in order
Section titled “Set up everything, in order”┌ SixtyList · setup│◇ Setting up: a new directory (the “dannys-directory” folder)│ Each directory is its own copy of the starter, in its own folder, set up on its own. This window sets up this one.│◇ Welcome│ This setup asks plain questions and does the technical steps for you, in five steps:│ 1. Put your site online: Your directory, live at its own address.│ 2. Connect your forms: What visitors send arrives in your email.│ 3. Connect GitHub: Your site on GitHub, and an editor you sign in to from anywhere.│ 4. Automatic submissions: Each submission becomes a draft listing for you to approve.│ 5. Sponsorship payments: Sponsors book and pay on your site, and their spot is set up for your approval.││ The first three make a complete, working directory. The last two are optional extras.│ You can stop after any step: the setup remembers where you are.││ No technical skills? https://docs.sixtylist.com/setup/browser/ sets it all up in your browser instead.│◆ What would you like to set up? (The first three make a complete directory; 4 and 5 are optional extras.)│ ● Set up everything, in order (starts at “Put your site online”)│ ○ 1. Put your site online│ ○ 2. Connect your forms│ ○ 3. Connect GitHub│ ○ 4. Automatic submissions│ ○ 5. Sponsorship payments│ ○ Change how your site looks│ ○ Check everything│ ○ Sign out of GitHub│ ○ Leave│◇ Put your site online│ Your directory, live at its own address. This alone is a complete site: you can stop after it.│◆ Your directory’s name│ Danny’s Directory│◆ What is one entry in your directory called? (for example: tool, app, service, project)│ tool│◆ And more than one?│ tools│◆ Where will your site live on the web? (Your “host”: you can change it later.)│ ● Cloudflare Workers (recommended: free, even for a site that earns money; every feature works)│ ○ Somewhere else│◆ Your site’s address│ ● Use a free Cloudflare address for now (like your-site.your-name.workers.dev; add your own domain any time)│ ○ I have my own domain│◆ Your directory comes with example listings, so you can see how it looks. Hide them now? (Nothing is deleted: Settings → Features in the editor shows them again.)│ ○ Yes / ● No│◆ You’re not signed in to Cloudflare on this computer. Sign in now?│ ● Yes / ○ No│◇ Sign in to Cloudflare│ Your browser will open a Cloudflare page. There are two screens:│ 1. Check that the code on the page matches the one shown here, and continue.│ 2. Click “Authorize” to let this setup manage your site.│ Then come back to this window. You have 5 minutes.│ No Cloudflare account yet? Make a free one at https://dash.cloudflare.com/sign-up first.│◇ Cloudflare gave a sign-in code│◇ Check it matches on the Cloudflare page│ Code: ABCD-EFGH│ Page: https://dash.cloudflare.com/oauth2/device│◇ Signed in to Cloudflare│◆ You’re signed in to Cloudflare. You can close the browser tab now and come back here.│◆ Saved: Danny’s Directory, with tools, on Cloudflare Workers at https://dannys-directory.your-name.workers.dev.│◆ Put your site on the web now? (about 2 minutes)│ ● Yes / ○ No│● This can take a minute or two. Please don’t close this window.│◇ Building your site and putting it on Cloudflare Workers: done│◇ Checking https://dannys-directory.your-name.workers.dev answers: done│◆ Your site is live at https://dannys-directory.your-name.workers.dev│◆ “Put your site online” is done: your directory, live at its own address.│◇ Connect your forms│ What visitors send arrives in your email.│ Your site doesn’t send email itself. A form service receives what visitors type into your forms and emails it to you.│◆ Which form service?│ ● Formspree (recommended: free plan; sign up in a minute)│ ○ I already use another service│◇ On Formspree│ 1. Sign up (free), and confirm your email address.│ 2. Click “+ New form”, name it “Danny’s Directory”, and click Create.│ 3. Copy the address under “Your form’s endpoint” (it starts with https://formspree.io/f/).││ More details: https://docs.sixtylist.com/setup/terminal/connect-your-forms/│◆ Press Enter to open Formspree in your browser│ ○ Open formspree.io/register│ ● I have it open already│◆ Use one form for all three: Submit a listing, Contact, and Report an issue? (You can give each its own later.)│ ● Yes / ○ No│◆ Paste the form’s address (https://formspree.io/f/…)│ https://formspree.io/f/abcd1234│◆ formspree.io answers.│◆ Put your forms live now? (about 2 minutes)│ ● Yes / ○ No│● This can take a minute or two. Please don’t close this window.│◇ Building your site and putting it on Cloudflare Workers: done│◇ Checking https://dannys-directory.your-name.workers.dev answers: done│◆ Your site is live at https://dannys-directory.your-name.workers.dev│◆ “Connect your forms” is done: what visitors send arrives in your email.│◇ Connect GitHub│ Your site on GitHub, and an editor you sign in to from anywhere. A content editor at https://dannys-directory.your-name.workers.dev/admin/: try it on this computer first, no account needed.│◆ The editor needs to keep a history of your changes. Set that up now? (This runs git init.)│ ● Yes / ○ No│◆ Your site now keeps a history of its changes.│◆ The editor is on. Try it: run npm run dev in a second Terminal window, then open http://localhost:4321/admin/ in Chrome or Edge and choose “Work with Local Repository”.│◆ Put the editor on your live site too, so you can edit from anywhere? This needs GitHub (free).│ ● Yes / ○ No│◆ A name for your site’s private storage space on GitHub│ dannysdirectory│◆ Upload your site to GitHub now? We’ll create a private storage space called “dannysdirectory” that only you can see.│ ● Yes / ○ No│◇ Creating “dannysdirectory” on GitHub: done│◆ Git signs each saved change with a name and email. Use your GitHub username (your-username) and GitHub’s private email address for you?│ ● Yes / ○ No│◆ Save a first copy of your site so it can be uploaded to GitHub? (This makes your first commit. Private files, like your passwords and keys, are always left out.)│ ● Yes / ○ No│◇ Saving a first copy of your site: done│● This can take a minute or two. Please don’t close this window.│◇ Uploading your site to GitHub: done│◇ Your site’s GitHub App│ GitHub opens with the App’s details filled in. Two clicks:│ 1. “Create GitHub App”.│ 2. “Install”, on your site’s repository only.│ Then come back here.│● If your browser didn’t open, go to: http://127.0.0.1:53682/│◇ Back from GitHub│◆ The App is installed on your-username/dannysdirectory, and can only touch it.│◇ Saving the GitHub App’s number on Cloudflare Workers: done│◇ Saving the App’s installation number on Cloudflare Workers: done│◇ The GitHub App’s private key is saved on Cloudflare Workers.│◇ Saving the editor sign-in’s Client ID on Cloudflare Workers: done│◇ Saving the editor sign-in’s secret on Cloudflare Workers: done│◆ The App’s values are saved on your host: GitHub sign-in, submissions and sponsorships all use it.│◇ Automatic updates│ From now on, every change you make (in the editor, or a submission you approve) can go live by itself: Cloudflare builds your site whenever it changes on GitHub.│◇ On Cloudflare│ 1. This opens your site’s settings (Compute → Workers & Pages → dannys-directory → Settings).│ 2. Find “Builds” and click “Connect”.│ 3. Choose GitHub, then the “dannysdirectory” repository. If GitHub asks, allow Cloudflare to see only that repository.│ 4. Build command: npm run build│ 5. Deploy command: npx wrangler deploy│ 6. Builds for branches other than main: leave on (your repository is private, so preview pages for submissions are useful).│ 7. Click “Connect” (or Save).││ More details: https://docs.sixtylist.com/setup/terminal/connect-github/#automatic-updates│◆ Press Enter to open Cloudflare in your browser│ ○ Open dash.cloudflare.com/your-account-id/workers/services/view/dannys-directory/production/settings│ ● I have it open already│◆ Is the repository connected?│ ● Yes / ○ No│◆ Connected: changes to your site now go live by themselves.│◇ A daily rebuild│ Your site rebuilds itself each day, so things with dates stay right. Turn this on if you’ll sell sponsorships, set Editor’s picks with start and end dates, want the automatic website checks to show, or want “new this week” to stay fresh.│ Otherwise skip it: the site still updates whenever you change it.│◆ Set up the daily rebuild?│ ● Yes / ○ No│◇ On Cloudflare│ 1. In “Builds”, find “Deploy Hooks” and click “Create” (or “Add deploy hook”).│ 2. Name it “daily rebuild”, choose the branch main, and create it.│ 3. Copy the address it shows (https://api.cloudflare.com/…). It works like a password: paste it only here.│◆ Press Enter to open Cloudflare in your browser│ ○ Open dash.cloudflare.com/your-account-id/workers/services/view/dannys-directory/production/settings│ ● I have it open already│● Paste it below. It shows as dots, so it stays private: that’s normal.│◆ Paste the deploy hook’s address│ ••••••••••••••••│◆ Got it.│◇ Saving it in GitHub, for the daily rebuild: done│◆ The daily rebuild is set up (every day at 05:17 UTC).│◆ Let your site’s weekly link check report broken links as suggestions for you to approve? (This changes a GitHub setting: GitHub Actions may create pull requests.)│ ● Yes / ○ No│◆ Done: the weekly link check can report.│◆ Protect your live site from accidental changes? Every change would then need your approval first. (This changes a GitHub setting: a ruleset on main; only you, as admin, can skip it.)│ ● Yes / ○ No│◆ Protected: every change to your live site now needs an approval.│◆ Put the editor live now? (about 2 minutes)│ ● Yes / ○ No│◇ Saving your changes: done│● This can take a minute or two. Please don’t close this window.│◇ Uploading your site to GitHub: done│● This can take 2 to 4 minutes. Please don’t close this window.│◇ Cloudflare is building your site and putting it live: done│◆ Your changes are live at https://dannys-directory.your-name.workers.dev│● Your editor: https://dannys-directory.your-name.workers.dev/admin/│◆ “Connect GitHub” is done: your site on GitHub, and an editor you sign in to from anywhere.│◆ The first three steps are done: your directory is complete and working.│◆ Want more? Automatic submissions: Each submission becomes a draft listing for you to approve. Set it up now? (about 10 minutes)│ ● Yes / ○ No│◇ Automatic submissions│ Each submission becomes a draft listing for you to approve. An optional extra: it takes about 10 minutes, with a few steps on other websites.│◇ The spam check (Turnstile)│ A free check from Cloudflare that a visitor is a person, not a script sending junk. Visitors rarely see anything.│◇ Creating your spam check on Cloudflare: done│◇ The spam check’s secret key is saved on Cloudflare Workers.│◆ Suggest categories and tags for each submission with AI? (Optional: your own Anthropic or OpenAI key; you pay them a little per submission.)│ ○ No, thanks│ ● Yes, with Anthropic│ ○ Yes, with OpenAI│● Paste it below. It shows as dots, so it stays private: that’s normal.│◆ Paste your Anthropic API key│ ••••••••••••••••│◆ Got it.│◇ Your AI service key is saved on Cloudflare Workers.│● Submissions are limited per visitor, so nobody can flood you. The counts need a small store on Cloudflare (a KV namespace), created now.│◇ Creating the store on Cloudflare: done│◆ Done: submissions are limited per visitor.│◆ Put automatic submissions live now? (about 2 minutes)│ ● Yes / ○ No│◇ Saving your changes: done│● This can take a minute or two. Please don’t close this window.│◇ Uploading your site to GitHub: done│● This can take 2 to 4 minutes. Please don’t close this window.│◇ Cloudflare is building your site and putting it live: done│◆ Your changes are live at https://dannys-directory.your-name.workers.dev│◆ “Automatic submissions” is done: each submission becomes a draft listing for you to approve.│◆ Want more? Sponsorship payments: Sponsors book and pay on your site, and their spot is set up for your approval. Set it up now? (about 10 minutes)│ ● Yes / ○ No│◇ Sponsorship payments│ Sponsors book and pay on your site, and their spot is set up for your approval. An optional extra: it takes about 10 minutes, with steps on Stripe. Always in Stripe’s test mode first.│◆ Which Stripe mode?│ ● Test mode (start here: no real money)│ ○ Live mode│◇ On Stripe│ 1. No Stripe account yet? Sign up (free) at https://dashboard.stripe.com/register first.│ 2. Make sure “Test mode” is on.│ 3. Click “Create restricted key”, choose “Building your own integration”, and name it after your site.│ 4. Set these to Write: Checkout Sessions, Refunds. Set these to Read: PaymentIntents, Charges. Leave the rest as None.│ 5. Click “Create key”, then copy it (it starts with rk_).│◆ Press Enter to open Stripe in your browser│ ○ Open dashboard.stripe.com/test/apikeys│ ● I have it open already│● Paste it below. It shows as dots, so it stays private: that’s normal.│◆ Paste the restricted key (rk_test_…)│ ••••••••••••••••│◆ Got it.│◇ On Stripe│ 1. Click “Add destination” (or “Add endpoint”), and choose your account’s events.│ 2. Choose these events: checkout.session.completed, checkout.session.async_payment_succeeded, checkout.session.async_payment_failed, checkout.session.expired, charge.refunded, charge.dispute.created.│ 3. Choose “Webhook endpoint”, and paste this address: https://dannys-directory.your-name.workers.dev/api/advertise/webhook│ 4. Create it, then click “Reveal” under “Signing secret” and copy it (it starts with whsec_).│◆ Press Enter to open Stripe in your browser│ ○ Open dashboard.stripe.com/test/webhooks│ ● I have it open already│● Paste it below. It shows as dots, so it stays private: that’s normal.│◆ Paste the signing secret (whsec_…)│ ••••••••••••••••│◆ Got it.│◇ Your Stripe key is saved on Cloudflare Workers.│◇ Stripe’s signing secret is saved on Cloudflare Workers.│◆ Put sponsorships live now? (about 2 minutes)│ ● Yes / ○ No│◇ Saving your changes: done│● This can take a minute or two. Please don’t close this window.│◇ Uploading your site to GitHub: done│● This can take 2 to 4 minutes. Please don’t close this window.│◇ Cloudflare is building your site and putting it live: done│◆ Your changes are live at https://dannys-directory.your-name.workers.dev│◆ “Sponsorship payments” is done: sponsors book and pay on your site, and their spot is set up for your approval.│◆ What would you like to set up? (The first three make a complete directory; 4 and 5 are optional extras.)│ ○ 1. Put your site online│ ○ 2. Connect your forms│ ○ 3. Connect GitHub│ ○ 4. Automatic submissions│ ○ 5. Sponsorship payments│ ● See your next steps (what to try, and what’s left)│ ○ Change how your site looks│ ○ Check everything│ ○ Sign out of GitHub│ ○ Leave│◇ Your next steps (saved as NEXT-STEPS.md)│ # Next steps for Danny’s Directory││ Made by the setup on 2026-11-12. Run `npm run setup` again any time: it starts from where you are, and updates this page.││ ## Try it││ - **See your site:** https://dannys-directory.your-name.workers.dev│ - **Send yourself a test:** fill in https://dannys-directory.your-name.workers.dev/submit/ and https://dannys-directory.your-name.workers.dev/contact/. Each arrives in your email within a minute or two (check your spam folder the first time).│ - **Edit on this computer:** run `npm run dev`, then open http://localhost:4321/admin/ in Chrome or Edge and choose “Work with Local Repository”.│ - **Edit from anywhere:** https://dannys-directory.your-name.workers.dev/admin/ (each editor signs in with GitHub).│ - **Changes go live by themselves:** each change you save in the editor is built and live in about 3 minutes.│ - **The daily rebuild** runs every day at 05:17 UTC. You can see each run in your repository on GitHub, under Actions.│ - **Try a submission:** send one at https://dannys-directory.your-name.workers.dev/submit/. A draft listing for you to approve appears in your repository on GitHub, under Pull requests, within a minute.│ - **Try a sponsorship:** book a spot at https://dannys-directory.your-name.workers.dev/advertise/ with Stripe’s test card 4242 4242 4242 4242 (any future date, any 3 digits). It appears for your approval in your repository on GitHub.││ ## Still to do││ - **Switch Stripe to live mode** once a test booking worked: choose “Sponsorship payments” again, and “Live mode”.││ ## Help││ - `npm run doctor` checks everything and says what to fix.│ - The guides: https://docs.sixtylist.com/setup/terminal/│ - If a step failed, its details are in .setup/last-error.txt (no passwords or keys are ever in it).│◆ What would you like to set up? (The first three make a complete directory; 4 and 5 are optional extras.)│ ○ 1. Put your site online│ ○ 2. Connect your forms│ ○ 3. Connect GitHub│ ○ 4. Automatic submissions│ ○ 5. Sponsorship payments│ ○ See your next steps│ ○ Change how your site looks│ ○ Check everything│ ○ Sign out of GitHub│ ● Leave│● Your next steps are saved in NEXT-STEPS.md, in this folder.│└ Run npm run setup again any time: it starts from where you are.When a step fails
Section titled “When a step fails”Here, putting the site live fails because Cloudflare’s sign-in has run out. The setup says so in plain words, shows the technical details only when asked, and offers the fix: signing in again, then trying again.
◆ Put your site on the web now? (about 2 minutes)│ ● Yes / ○ No│● This can take a minute or two. Please don’t close this window.│◇ Building your site and putting it on Cloudflare Workers: didn’t work│■ You’re not signed in to Cloudflare on this computer.│◆ What would you like to do?│ ○ Sign in to Cloudflare, then try again│ ○ Try again│ ○ Skip this for now│ ● Show the technical details│◇ Technical details (also kept in .setup/last-error.txt)│ ✘ [ERROR] A request to the Cloudflare API (/accounts/x/workers/scripts) failed.│ Authentication error [code: 10000]│◆ What would you like to do?│ ● Sign in to Cloudflare, then try again│ ○ Try again│ ○ Skip this for now│ ○ Show the technical details│◇ Sign in to Cloudflare│ Your browser will open a Cloudflare page. There are two screens:│ 1. Check that the code on the page matches the one shown here, and continue.│ 2. Click “Authorize” to let this setup manage your site.│ Then come back to this window. You have 5 minutes.│ No Cloudflare account yet? Make a free one at https://dash.cloudflare.com/sign-up first.│◇ Cloudflare gave a sign-in code│◇ Check it matches on the Cloudflare page│ Code: ABCD-EFGH│ Page: https://dash.cloudflare.com/oauth2/device│◇ Signed in to Cloudflare│◆ You’re signed in to Cloudflare. You can close the browser tab now and come back here.│● This can take a minute or two. Please don’t close this window.│◇ Building your site and putting it on Cloudflare Workers: done│◇ Checking https://www.dannysdirectory.com answers: done│◆ Your site is live at https://www.dannysdirectory.com│◆ “Put your site online” is done: your directory, live at its own address.