mix green_ash.install (GreenAsh v0.1.0)

Copy Markdown View Source

Installs GreenAsh: mounts the console in your router

Adds import GreenAsh.Router and a green_ash "/cli" scope to your Phoenix router, gated behind :dev_routes (only enabled in dev). Exposed domains are read dynamically from your :ash_domains config at runtime, so newly added domains show up automatically — no need to re-run this installer.

Example

mix green_ash.install