Skip to content

Commit

Permalink
Distribution docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Krawczyk committed Feb 8, 2016
1 parent 1a42596 commit 6c2af1e
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,36 @@ Register [Marathon](https://mesosphere.github.io/marathon/) Tasks as [Consul](ht
forwards it to Consul agents. It also re-syncs all the information from Marathon
to Consul on startup and repeats it with given interval.

## Installation

Binary distribution of `marathon-consul` can be downloaded directly from [GitHub Releases page](https://github.com/allegro/marathon-consul/releases).

### Installing via APT

If you are a Debian/Ubuntu user, you can easily install `marathon-consul` as a `.deb` package using `APT` package manager. Both `upstart` and `systemd` service managers are supported.
All releases are published as `.deb` packages to [our repository at Bintray](https://bintray.com/allegro/deb/marathon-consul/view).

To install `marathon-consul` with `apt-get`, simply follow the instructions:

```bash
# add our public key to apt
curl -s https://bintray.com/user/downloadSubjectPublicKey?username=allegro | sudo apt-key add -
# add the repository url
echo "deb http://dl.bintray.com/v1/content/allegro/deb /" | sudo tee /etc/apt/sources.list.d/marathon-consul.list
# update apt cache
sudo apt-get -y update
# install latest release of marathon-consul
sydo apt-get -qy install marathon-consul
```

Installed `marathon-consul` binary can be then run as:

```bash
service marathon-consul start
```

The configuration file is located at `/etc/marathon-consul.d/config.json`.

## Running the program

Just run `marathon-consul`.
Expand Down

0 comments on commit 6c2af1e

Please sign in to comment.