Scaffold a runnable SQLite-backed oban_codex setup.
Composes oban.install (steering it to SQLite and the Oban.Engines.Lite
engine) and adds the Codex-specific pieces on top: a sample worker, a
telemetry logger, and a boot-time demo enqueue so iex -S mix shows a job
run end to end.
Example
# into a fresh project
mix igniter.new my_app --install oban_codex
# or into an existing project
mix igniter.install oban_codexThen:
iex -S mixWhat it produces
- an Ecto SQLite3 repo (module, dev/test config, supervision child)
- Oban configured with
Oban.Engines.Lite, its migration, and supervision - a sample
ObanCodex.Workeron a:codexqueue - a telemetry logger + a dev-only boot enqueue (the "watch" demo)
The sample worker ships with a stubbed, offline query_fun so the demo runs
without a real Codex call. Delete that one option to call Codex.