Generate a New Phoenix Application
This is where the fun really begins. With just a couple of shell commands we’ll have a new web app up and serving pages, and Phoenix will serve them faster than you might have thought possible.
Before we start, make sure you have the Phoenix installer archive as well as Node.js installed on your system. Take a look at Appendix 1, Installing System Dependencies if you need help installing them. Node.js is only necessary to manage front-end dependencies, including Brunch, which Phoenix uses as a build tool. Node.js doesn’t play a role within Phoenix proper.
By default, the Phoenix project generator will install Ecto, the Elixir data wrapping and query generating package. The generator will also install Brunch ...
Get Functional Web Development with Elixir, OTP, and Phoenix now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.