I do use release. This is how I build.
mix local.rebar --force
mix deps.get --only prod
mix deps.compile
mix assets.deploy
mix release
Then I copy content of _build/prod/rel/<my_app>
to my server where I run it with systemd
.
I do use release. This is how I build.
mix local.rebar --force
mix deps.get --only prod
mix deps.compile
mix assets.deploy
mix release
Then I copy content of _build/prod/rel/<my_app>
to my server where I run it with systemd
.