Mate.Storage.Local (Mate v0.1.7) View Source

This storage driver will store your release archives to your local machine, and upload them to the deploy servers from your local machine as well.

To use this module you can specify it in your .mate.exs module, however currently Mate.Storage.Local is the default so it is optional.

In your .mate.exs you can specify it as such:

config :mate,
  storage: Mate.Storage.Local

By default this will copy the release archive to the project root, from where you are running the mate commands. However, you can optionally configure the local storage driver to store them in another directory.

config :mate,
  storage_opts: [
    release_dir: "/path/to/dir"
  ]

NOTE This can also be relative, from the current working directory.