mix new myproj
cd myproj
defp deps do
[
{:exrm, "~> 1.0"},
]
end
mix deps.get
mix compile
MIX_ENV=prod mix release
scp rel/myproj/releases/0.0.1/myproj.tar.gz user@hostname:~/directory
ssh user@hostname
mkdir app
cp myproj.tar.gz app
cd app
tar -xvf myproj.tar.gz
bin/myproj console