How to install the Phoenix framework (29 jan 16...02 feb 16)
I stumbled on the Phoenix web application framework, which is written in the language Elixir, but couldn't find an accurate account of how to make it work. The documentation is wildly inaccurate, and the error messages incomprehensible.
# [create a database, e.g. 'CREATE DATABASE my_app_dev']
$ brew install elixir
$ mix local.hex
# [answer all questions 'Y']
$ mix archive.install https://github.com/phoenixframework/archives/raw/master/phoenix_new.ez
$ mix phoenix.new my_app
$ cd my_app
# [edit config/dev.exs, ensuring the postgres user name and password at the bottom of
this file will log in Postgresql and use database my_app_dev]
$ mix deps.get
$ mix phoenix.server
# [navigate to http://localhost:4000/ in a browser]
They say it's better than Rails. It better be.