ex_admin icon indicating copy to clipboard operation
ex_admin copied to clipboard

Adding this to application in mix.exs

Open hut8 opened this issue 7 years ago • 2 comments

In the installation instructions in README.md, it makes no mention of adding :ex_admin to the list of applications in def applications. The result for me is that when I run this with Phoenix in development, it works fine, then it fails in production. When I add it, though, it works in production.

Should this be added, or am I misunderstanding the point of the applications list? I'm a relative beginner to Elixir, and this is one of the things I may just not know 😄

hut8 avatar Jan 29 '17 12:01 hut8

As long as your Elixir is fully updated and you do not have an applications list defined at all then Mix adds it automatically. If you define an applications list then you need to be sure to list every dependency manually in it.

OvermindDL1 avatar Jan 30 '17 16:01 OvermindDL1

So I think the answer is yes, this should be added to the instructions. Because this gem of knowledge is not obvious or intuitive.

raarts avatar Jan 30 '17 17:01 raarts