Skip to content

Add a free public demo on Render - #50

Merged
royalpriest merged 1 commit into
mainfrom
claude/render-demo
Nov 18, 2026
Merged

royalpriest merged 1 commit into
mainfrom
claude/render-demo

Conversation

@royalpriest

@royalpriest royalpriest commented Nov 18, 2026 •

Copy link
Copy Markdown
Owner

Adds a one-click free demo on Render, kept awake by a free uptime monitor.

What changed

  • render.yaml: a Blueprint for a free Docker web service with DEMO_MODE=true, a generated SECRET_KEY_BASE and a /up health check.
  • DEMO_MODE:
    • Loads the demo data in production. The seeds still refuse to run in production otherwise.
    • Shows the demo sign-in details on the sign in page.
    • Never sends email.
    • Wipes everything and reloads the demo data every night at 4am UTC (a Solid Queue recurring task), so visitors can't leave it broken, for example by changing the demo password.
  • Production config:
    • /up no longer redirects to HTTPS, so health checks and uptime monitors get a 200.
    • Mailer links fall back to RENDER_EXTERNAL_HOSTNAME when APP_HOST isn't set.
  • Docs:
    • A Deploy to Render button in the README.
    • A new "Free demo on Render" section in the deploy guide, including UptimeRobot setup (ping /up every 5 minutes).

Render's free plan has no persistent disk, so this is for a demo only. The docs say so and point to the real deploy options.

The Deploy to Render button only works once the repository is public.

Checks

  • bin/rails test: 136 runs, 0 failures. New tests cover the nightly reset (including the search index) and the demo sign-in hint.
  • bin/rubocop: no offenses
  • bin/brakeman: no warnings
  • Booted in production with DEMO_MODE=true on a fresh database:
    • db:prepare loaded the demo data.
    • /up returned 200.
    • The sign in page showed the demo hint.
    • Solid Queue registered the reset_demo recurring task.

render.yaml deploys a free Render web service with DEMO_MODE=true. Demo mode loads the demo data in production, shows the demo sign-in on the sign in page, never sends email and resets everything nightly. /up is reachable over plain HTTP for uptime monitors, and mailer links fall back to Render's hostname. The deploy guide explains how to keep it awake with a free UptimeRobot monitor.
@royalpriest
royalpriest merged commit eccdabc into main Nov 18, 2026
5 checks passed
@royalpriest
royalpriest deleted the claude/render-demo branch November 19, 2026 01:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant