Start here
Install Lamp
Prepare a local or Cloudflare installation and choose its two hosts.
Lamp uses the exact @runeditrun/rer pin in package.json under
devDependencies, locked in pnpm-lock.yaml, and can run locally or in your
Cloudflare account. The local guide gives the one-line
install for the published release and shows how to restart it. Local mail is silently
suppressed and not retained; use a hosted installation to exercise real email delivery.
To use another published tag, see source and tooling versions.
rer --version names the rer you installed first and the
version the checkout pins second. After dependencies are installed, commands
inside the checkout run that pin; the installed CLI starts it.
Prepare a hosted installation
- Free: you run Lamp's open source yourself in your own Cloudflare account, with no Run Edit Run charge. The commands in this guide are this path.
- Assisted: Run Edit Run installs and maintains Lamp for you, while it stays in your own Cloudflare account and GitHub repository (early access).
- Managed: Run Edit Run hosts and runs Lamp for you (waitlist only).
Compare them on Run Edit Run plans.
Managed hosting includes mail without a provider account or mail key from you.
RER fills and hides MAIL_PROVIDER=rer, MAIL_FROM, MAIL_RELAY_URL and private
MAIL_API_KEY. Free and Assisted hosting keep your own Resend or SendGrid account,
authenticated sender and key, using MAIL_FROM_ADDRESS, MAIL_DKIM_SELECTOR and
MAIL_PROVIDER_API_KEY when email is enabled. With MAIL_PROVIDER=none, the
owner can use rer signin and Lamp keeps publishing status updates. See
the mail-off settings.
Choose two distinct hostnames for the public status page and operator app. Use
custom domains in your Cloudflare account, or use that account's existing
workers.dev subdomain. Both hostname inputs are required in either mode.
Follow Deploy to Cloudflare, one guided page, for the private input
file, each input in the order the dry run asks for it, and the commands. The deployment reference distinguishes values
you supply from generated secrets and shows how to find the workers.dev hosts.
Authenticate the sender
For Free, Assisted and native deployment, prepare your own sender as follows. Managed hosting supplies the sender and relay credential automatically.
To send email, set MAIL_PROVIDER to resend or sendgrid.
Set it explicitly to match your key. Authenticate the domain of
MAIL_FROM_ADDRESS in that provider and copy its DNS records to your DNS host:
step 6 of Deploy to Cloudflare walks through it at
SendGrid and Resend. Set MAIL_DKIM_SELECTOR to the provider's selector, such
as s1 for SendGrid when its domain-authentication settings use s1 and s2.
Before provisioning, Lamp requires a reachable DKIM key at
<selector>. (a provider CNAME is supported) and a DMARC
policy at _dmarc.<From-domain>. SPF may be on the provider's return-path domain;
Lamp does not require SPF at the From domain. Configure the provider to sign with
DKIM aligned to the From domain so DMARC can pass through DKIM.
The DNS check does not send mail or prove delivery, alignment in a sent message, or DKIM header coverage. After deployment, verify a received message and the provider receipt configuration.
For SendGrid, the key Lamp uses to check your sender also needs authenticated-domain
read permission (whitelabel.read). Lamp searches all matching domain pages and
shows the provider's outstanding DNS records when authentication is incomplete.
This page is drawn from docs/install.md in the repository. Edit it on GitHub.