Installation¶
Download Bootleg¶
Add to your mix.exs
dependencies:
1 2 3 4 | def deps do [{:distillery, "~> 2.0", runtime: false}, {:bootleg, "~> 0.11", runtime: false}] end |
Install Bootleg:
1 | $ mix deps.get |
Set-up Distillery¶
Tip
If upgrading from an earlier version of Distillery, you may want to generate a new rel/config.exs
with which to compare your existing configuration.
If you do not have a rel/config.exs
file, please follow the Distillery guide to create one. Generally this consists of running mix release.init
and reviewing the resulting file.
Set-up Bootleg¶
Bootleg will read configuration from the config/deploy.exs
file.
A mix task is provided to bootstrap this file for you:
1 | $ mix bootleg.init |
Please open and review the created files. The next page will cover configuring Bootleg for your use.