From: Andrew Gundersen Date: Thu, 16 Jul 2026 20:15:59 +0000 (+0000) Subject: Add README X-Git-Url: https://www.andrewgundersen.net/repos?a=commitdiff_plain;ds=inline;p=crimata-website Add README --- diff --git a/README.md b/README.md index 7db80e4..bd900cc 100644 --- a/README.md +++ b/README.md @@ -1,24 +1,22 @@ -# README +# crimata-website -This README would normally document whatever steps are necessary to get the -application up and running. +Marketing site and signup flow for Crimata. Rails 7 app handling passwordless (magic-link) login, pricing/checkout via Stripe, and kicking off instance provisioning once a subscription is created. -Things you may want to cover: +## What it does -* Ruby version +- `/` and `/pricing` — marketing pages +- `/login` — passwordless magic-link auth +- `/checkout/start` — creates a Stripe Checkout session for the subscription +- `/checkout/webhook` — on successful payment, calls out to `crimata-infra`'s `/instances` endpoint to provision the customer's instance -* System dependencies +## Running it -* Configuration +Needs Postgres, Stripe API keys, a Resend API key (for magic-link emails), and `INFRA_SERVICE_URL` pointing at a running `crimata-infra` instance. -* Database creation +``` +bundle install +bin/rails db:create db:migrate +bin/rails server +``` -* Database initialization - -* How to run the test suite - -* Services (job queues, cache servers, search engines, etc.) - -* Deployment instructions - -* ... +Configured for deployment on Fly.io (`fly.toml`), but that hasn't been kept up to date since moving off Fly — expect some setup friction there.