Mate.Driver.Local (Mate v0.1.5) View Source

The Local driver is used to execute commands on your local machine.

Be aware that if you want to deploy your application on another machine, they must match system architectures. For example if you build locally on MacOS you cannot deploy the application to Ubuntu.

Example configuration:

config :mate,
  otp_app: :example,
  module: Example,
  driver: Mate.Driver.Local

config :staging,
  server: "www.example.com",
  build_path: "/tmp/mate/example",
  release_path: "/home/elixir/releases/example",
  build_secrets: %{
    "prod.secret.exs" => "#{File.cwd!()}/config/prod.secret.exs"
  }