With Elixir 1.8.1 and Phoenix v1.4.6
$ mix phx.new.web auction_web --no-ecto
Is producing a ../apps/auction_web/
directory with no /config
:
.gitignore
README.md
assets
lib
mix.exs
priv
test
But looking at the github repository for the book ( https://github.com/PhoenixInAction/phoenix-in-action/tree/master/ch06/auction_umbrella/apps/auction_web
) it looks like it is supposed to be there.
Downgraded to phx 1.4.2
(which is used in the book), deleted ../apps/auction_web/
then ran $ mix phx.new.web auction_web --no-ecto
again.
Now there is a ../apps/auction_web/config
directory and mix phx.server
works as expected and is using port 4000.
$ mix phx.server
14:47:07.837 [info] Running AuctionWeb.Endpoint with cowboy 2.6.3 at 0.0.0.0:4000 (http)
14:47:07.845 [info] Access AuctionWeb.Endpoint at http://localhost:4000
Did something change or break between 1.4.2
and 1.4.6
?