Getting Starting Phoenix

Building an app with Phoenix : part 2 of 9 published on Aug 24, 2015

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 task with mix.

$ mix 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.

$ mix phoenix.server
Next: Creating the Database