$ mix phx.new munch_phoenix
* creating munch_phoenix/lib/munch_phoenix/application.ex
* creating munch_phoenix/lib/munch_phoenix.ex
...
Fetch and install dependencies? [Yn]
* running mix deps.get
* running mix assets.setup
* running mix deps.compile
We are almost there! The following steps are missing:
$ cd munch_phoenix
Then configure your database in config/dev.exs and run:
$ mix ecto.create
Start your Phoenix app with:
$ mix phx.server
You can also run your app inside IEx (Interactive Elixir) as:
$ iex -S mix phx.server
$ cd ../munch_phoenix/
$ mix ecto.create
Compiling 15 files (.ex)
warning: defining a Gettext backend by calling
use Gettext, otp_app: ...
is deprecated. To define a backend, call:
use Gettext.Backend, otp_app: :my_app
Then, instead of importing your backend, call this in your module:
use Gettext, backend: MyApp.Gettext
lib/munch_phoenix_web/gettext.ex:23: MunchPhoenixWeb.Gettext (module)
Generated munch_phoenix app
The database for MunchPhoenix.Repo has been created
Expected behaviour
I've just started learning Elixir and Phoenix so I not confident making the change they suggest in the phx.new template, but I guess
Environment
Actual behavior
Expected behaviour
I've just started learning Elixir and Phoenix so I not confident making the change they suggest in the phx.new template, but I guess
should be replaced by
in
gettext.ex