We are going to be building a Reddit clone called “Readdit” (get it? clever right?).
To create a new Phoenix application along with its default folder structure we use the
phoenix.new task with
$ mix phoenix.new readdit
Say Yes when we are asked if we want to install dependencies.
Fetch and install dependencies? [Yn] Y
And that’s it!
Now change to the app’s directory and start a Phoenix server with
$ mix phoenix.server