Tutorial by Examples

Phoenix framework is written in Elixir, and Elixir itself is based on Erlang language and leverages the Erlang VM, known for running low-latency, distributed and fault-tolerant systems. Both languages are required for using phoenix framework. Following following step to install phoenix framework: 1...
Sometimes you want an installation without anything except the bare minimum phoenix setup. The follow command will give you that. mix phoenix.new web --no-brunch --no-ecto Note: You must have installed Elixir, Erlang, Hex, Mix and the Phoenix archive for skeleton installation
For creating your first project in Phoenix framework at this point you should have, Elixir, Erlang, Hex, and the Phoenix archive installed. You should also have PostgreSQL and node.js installed to build a default application. Open terminal or command prompt and go to location on your file system wh...
Elixir / Phoenix Install Homebrew first: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" Then running brew install elixir will install both Elixir and it's dependency - Erlang. Install mix with mix local.hex. Install Phoenix as per ...
To generate schema, view, controller, migration file for the repository, default CRUD templates and test files for a model (like a scaffolding in Rails) one can use phoenix.gen.html mix task like this: mix phoenix.gen.html Book books title note:text pages:integer author_id:references:authors Wh...

Page 1 of 1