Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 681 Bytes

Running-Spec.md

File metadata and controls

23 lines (15 loc) · 681 Bytes

Running Spec

Add Elixir's Live Tables to your own Postgres schema and run them locally.

Prerequisites

⚒️ Get set up with Spec

Start Spec

▶️ 🍿 All about running Spec

The following command will:

  1. Run Spec alongside a local Postgres database named spec
  2. Add the Live Tables for this project (outlined here) to your Postgres schema
  3. Backfill every Live Table on first startup
  4. Subscribe to events to keep your tables up-to-date with new activity on-chain
  5. Subscribe to reorgs across all chains your tables depend on
$ spec start