Quickstart

Goal: a working OpenBitum instance with one paid product, end-to-end, in under 10 minutes.

1. Prerequisites

2. Install in one line

curl -fsSL install.openbitum.pw | bash

The installer:

  1. Checks Linux/macOS + Docker + Compose + ports + RAM.
  2. Clones the repo into /opt/openbitum (root) or ~/openbitum (non-root).
  3. Generates random secrets (POSTGRES_PASSWORD, JWT, webhook HMAC, cookie).
  4. Prompts for domain, admin email, Bitcart password, optional GitHub PAT and Discord bot token.
  5. Runs docker compose pull then docker compose up -d.
  6. Polls the glue /healthz endpoint until ready.

Pass -y to skip prompts (reads everything from env):

OPENBITUM_DOMAIN=pay.example.com OPENBITUM_ADMIN_EMAIL=you@example.com \
  curl -fsSL install.openbitum.pw | bash -s -- -y

3. Finish onboarding

Open https://<your-domain>/setup. The wizard walks you through:

When the wizard says Done, you're live.

4. Create your first product

In the dashboard → Products → New product:

Save and copy the public Checkout URL.

5. Buy it yourself

Open the checkout URL in an incognito window:

  1. Sign in with GitHub (or email).
  2. Pick a currency, scan the address or pay from your wallet.
  3. Wait for the confirmation banner — it polls the glue /api/orders/:id endpoint every two seconds.
  4. Bitcart fires invoice.completed → glue queues the entitlement job → within ~30 seconds you receive the repo invite by email.

6. Next steps