Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 622 Bytes

umbrella_project.md

File metadata and controls

12 lines (8 loc) · 622 Bytes

Pow in an umbrella project

Adding Pow to an umbrella project is near identical to a single app setup.

Instead of running mix pow.install, you should run mix pow.ecto.install inside your ecto app, and mix pow.phoenix.install inside your phoenix app(s).

You can follow the rest of the README instructions with the following caveats in mind:

  • Run all mix ecto tasks inside the ecto app
  • Run all mix phoenix tasks inside the phoenix app(s)
  • For a project generated with mix phx.new --umbrella use :my_app_web instead of :my_app
  • config/config.ex is inside the Phoenix app(s)