From 73c6ca2cefccc5e57f3d7ce92eb60f38ffd365e6 Mon Sep 17 00:00:00 2001 From: andres Date: Sat, 5 Oct 2024 19:34:14 -0500 Subject: [PATCH] docs: Adds build steps to the README.md --- README.md | 45 ++++++++++++++++++++++++++++++++++++++------- 1 file changed, 38 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 3c9ba41..78179f7 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,44 @@ -# Contpose - -I am not very good at naming things. This is the convination of Continuous and -Compose. +# Compose Watcher This tool manages Docker Compose instances by constantly looking for new versions of images to deploying seemlessly. -Contpose works as a daemon that runs in the background of the host server. +Compose Watcher works as a daemon that runs in the background of the host server. + +## Build + +### RPM (RHEL) + +To build rpm make sure you have the following installed: + +- `cargo`: Rust package manager and build tool +- `rustc`: Rust compiler +- `make`: Run make files +- `rpmbuild`: Tool to build RPMs + +Once these dependencies are installed run: + +``` +make build-rpm +``` + + +This should create a file called roughly `../compose-watcher-$VERSION.x86_64.rpm`. + +### Deb (Debian & Ubuntu) + +To build deb make sure you have the following installed: + +- `cargo`: Rust package manager and build tool +- `rustc`: Rust compiler +- `make`: Run make files +- `dpkg-dev`: Tool to build DEB files + +Once these dependencies are installed run: + +``` +make build-deb +``` -## Installing +This should create a file called roughly `./compose-watcher.deb`. -TODO