Download the latest code on the server, then from the app directory run these commands:
MIX_ENV=prod mix release --path ~/notes_api_release
cd ~/notes_api_release && bin/notes_api start_iex
If available in Hex, the package can be installed
by adding notes_api
to your list of dependencies in mix.exs
:
def deps do
[
{:notes_api, "~> 0.1.0"}
]
end
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/notes_api.