January 2018
Intermediate to advanced
220 pages
5h 5m
English
You’ll need the Phoenix installer archive as well. This is essentially the Mix command that allows us to generate a new Phoenix project. There’s a single, albeit long, command to do this:
mix archive.install https://github.com/phoenixframework/archives/raw/master/phx_new.ez
That command just installed a Mix archive locally. Mix archives package up Elixir projects and allow us to run their Mix tasks. The particular task we’re looking for is phx.new, which generates a new Phoenix project in much the same way that mix new generates a vanilla Elixir project.
Read now
Unlock full access