The following steps will get your Elixir / Phoenix application generated. This is a basic MVC application and uses Phoenix version 1.4.1 with Erlang 21, and Elixir 1.8.1.
Generate the application:
mix phx.new my_app_name
Notice the snake case naming convention with the generator.
Now switch into the newly generated application and create the Postgres database (I'm assuming you have postgres installed on your system with a username of postgres) with the command:
And now you can run the Phoenix server with the command:
And it should start up properly and you can view the following default screen at localhost:4000: