mix ash_dispatch.install (AshDispatch v0.5.0)

View Source

Installs AshDispatch into a project

This installer will:

  • Add AshDispatch configuration to config files
  • Create Notification and DeliveryReceipt resources
  • Create Notifications and Deliveries domains
  • Add domains to your :ash_domains configuration
  • Create a RecipientResolver module for declarative audience resolution
  • Set up email layout templates
  • Optionally set up Phoenix channel for real-time updates

Example

mix igniter.install ash_dispatch

Options

  • --no-phoenix - Skip Phoenix channel setup
  • --no-email - Skip email backend configuration
  • --no-typescript - Skip TypeScript SDK generation (runs automatically if any domain uses AshTypescript.Rpc)