Installs ExAtlas into your project.
Run this once after adding {:ex_atlas, "~> 0.2"} to mix.exs:
mix ex_atlas.installOr use Igniter's installer entry point, which handles the dep addition too:
mix igniter.install atlasWhat it does
- Writes
config :ex_atlas, :fly, ...defaults toconfig/config.exs: dispatcher mode (chosen based on whetherphoenix_pubsubis present), DETS storage path underpriv/ex_atlas_fly, and the Fly sub-treeenabled: true. - Creates
priv/ex_atlas_fly/so DETS has somewhere to write on first run. - Adds
.gitignorerules for the DETS files (priv/ex_atlas_fly/*.dets).
Idempotent — re-running is safe; mix ex_atlas.upgrade handles version-over-version
migrations.