I'm not sure when to use mix and when to use phoenix for creating umbrella applications.
I have read a lot of articles online but they are not clear of the reasoning for using mix over phoenix and vis versa.
mix gives:
- apps/
- config/
phoenix gives:
- build/dev/(consolidated/lib)
- apps/(app_name/app_name_web)
- config/(configs for different envs)
- deps/(stuffffff)
mix new [UMBRELLA NAME] --umbrella
VS mix phx.new [UMBRELLA NAME] --umbrella
If I want to generate an umbrella that has an application that will serve html/json, how should I look at these commands?