Add Elixir's Live Tables to your own Postgres schema and run them locally.
The following command will:
- Run Spec alongside a local Postgres database named
spec
- Add the Live Tables for this project (outlined here) to your Postgres schema
- Backfill every Live Table on first startup
- Subscribe to events to keep your tables up-to-date with new activity on-chain
- Subscribe to reorgs across all chains your tables depend on
$ spec start