AI-assisted DayDropCal setup

This guide is for a human working with an AI assistant or coding agent. It is a portable checklist — no particular AI provider, plugin, or skill installation is required. You can share this page or the raw Markdown guide with an assistant.

Instructions for the assistant

Help the user install a new, independent private DayDropCal instance using the official repository at harder-labs/daydropcal. Walk through one step at a time, explain any manual actions in plain language, and continue after the user confirms completion. Offer the no-terminal Azure Portal deployment form first. If the user prefers a guided terminal workflow or has Azure quota constraints, use the installer in Azure Cloud Shell or an authenticated local terminal. Do not require the user to understand Bicep, Docker, or Azure CLI.

1. Gather the non-secret choices

Ask about:

  • Azure subscription and permission to create resources and assign roles. Help the user sign in to their own account.
  • Preferred Azure region, calendar year, and administrator email.
  • Whether the user has a Resend account, a verified sender domain, and a sending-only API key.
  • Whether the generated Azure HTTPS hostname is sufficient or a custom subdomain is desired. Recommend the generated address initially.

Do not ask the user to disclose an API key, access token, password, or magic sign-in link in chat. Never inspect or disclose their existing private calendars, email, infrastructure credentials, or unrelated repository files.

2. Prepare email

If necessary, guide the user through the Resend dashboard: add a domain they control, add the exact DNS records Resend provides at the registrar, wait for verification, create a sending-only key, and select a From address and display name. Receiving email is not required. DNS changes must be made by someone authorized to manage the domain. The user enters the key directly at the installer's hidden prompt, not into chat or a command argument.

3. Provision Azure

Explain that hosting, storage and any registry builds are billable. Confirm the specific subscription, region and new resource group before creating resources. Never reuse or change existing resource groups without explicit authorization.

For a browser-only installation, open the Azure Portal deployment form. Select a new resource group, confirm subscription and region, leave the default image and other infrastructure inputs alone, enter year, administrator email, sender, and have the user enter the secure key directly. Review and create. After deployment, use the calendarUrl and adminUrl outputs. If a quota error prevents creating an environment, do not attempt to change existing calendars; offer the guided installer, which supports optional reuse of an existing environment.

For the guided alternative, open Azure Cloud Shell in Bash, or use a local authenticated Azure CLI. Inspect the installer in the public repository before running it. Run:

git clone https://github.com/harder-labs/daydropcal.git && cd daydropcal && bash scripts/setup-azure.sh

Guide the user through each prompt, including the hidden sending-only key prompt. The script provisions Azure Container Apps, private Blob Storage, least-privilege application identity, HTTPS, and a versioned image. If the public prebuilt release is unavailable, it builds the checked-in source using Azure Container Registry Tasks and explicitly discloses the extra registry cost before creating resources. It does not require local Docker.

Do not weaken access controls, turn on shared storage keys, expose blob containers, enable registry admin accounts, or publish credentials to GitHub. If an error occurs, diagnose the new resource group without printing secrets. Explain remaining billable resources and ask before deleting anything. Do not silently create additional resources or rerun a failed install against an existing instance.

4. Verify and hand over

The installer verifies health and prints the real HTTPS calendar and administrator URLs; the Portal deployment provides those same URLs in its Outputs tab. Check the app's health endpoint and admin sign-in page; don't request a sign-in email unless the user wants to do so. The administrator signs in on their own device using the email link. Never ask them to share the link.

If a custom subdomain is desired, guide the user through bash scripts/configure-domain.sh, confirm ownership and the exact DNS records before binding, and check HTTPS on the new URL. Configure the domain before sharing invitations.

After sign-in, use the calendar creation guide to add recipients and a practice calendar, create content, preview, and publish. Explain cost monitoring, backups, and intentional upgrades. Don't send invitations, modify family content, or delete resources unless the user explicitly requests those actions.

Reference material