vagrant init ubuntu/xenial64
vagrant up
vagrant ssh
echo 'deb https://packages.erlang-solutions.com/debian xenial contrib' | sudo tee -a /etc/apt/sources.list
wget -qO - https://packages.erlang-solutions.com/ubuntu/erlang_solutions.asc | sudo apt-key add -
sudo apt update
sudo apt install esl-erlang elixir
mix local.hex
mix archive.install https://github.com/phoenixframework/archives/raw/master/phoenix_new.ez
mix phoenix.new web --no-brunch --no-ecto
Add {:exrm, "~> 1.0"}
to deps list in mix.exs
mix deps.get
MIX_ENV=prod mix compile
MIX_ENV=prod mix release