From c6854e7c139513f491a522a22d2bc15bd95ac6b3 Mon Sep 17 00:00:00 2001 From: Markus Graf Date: Thu, 21 Oct 2021 21:12:24 +0200 Subject: [PATCH] Move config to example --- Readme.md | 3 ++- config.yaml => config.yaml.example | 0 2 files changed, 2 insertions(+), 1 deletion(-) rename config.yaml => config.yaml.example (100%) diff --git a/Readme.md b/Readme.md index 11ba157..7853ae9 100644 --- a/Readme.md +++ b/Readme.md @@ -12,7 +12,8 @@ The ruby script subscribes topic of the sensors and saves the events payload in # Installation 1. Clone the ropository `git clone https://github.com/gurix/cure_logger.git` 2. Install dependencies `bundle install` -3. Setup your sensors and configure address of your MQTT broker in `config.yaml` +3. `cp config.yaml.example config.yaml` +4. Setup your sensors and configure address of your MQTT broker in `config.yaml` # Run the script Start the script with `ruby logger.rb` that produces console output when an event happens as well as it logs data into `data.csv`. diff --git a/config.yaml b/config.yaml.example similarity index 100% rename from config.yaml rename to config.yaml.example