From e0722b1c17bd9d1edbf0f16913e6bbd561d63396 Mon Sep 17 00:00:00 2001 From: K Jonathan Harker Date: Wed, 17 Apr 2013 21:39:26 +0000 Subject: [PATCH] Changing the config file should not dirty the repo. The config file contains implementation details that may change from one deployment to another, and changing these values should not dirty the git repo. This can be done by moving the config file to a sample file, and ignoring the actual config file in git. This means that a new step is added to the install process: copying the sample file to the actual location before making any site-specific changes. --- .gitignore | 1 + KibanaConfig.rb => KibanaConfig.rb.sample | 0 README.md | 3 +++ 3 files changed, 4 insertions(+) rename KibanaConfig.rb => KibanaConfig.rb.sample (100%) diff --git a/.gitignore b/.gitignore index c751bb25e..b8ffbe55b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ +KibanaConfig.rb KibanaConfig.rbackup.rb *.DS_Store /tmp/* diff --git a/KibanaConfig.rb b/KibanaConfig.rb.sample similarity index 100% rename from KibanaConfig.rb rename to KibanaConfig.rb.sample diff --git a/README.md b/README.md index 768dc72e8..949e5f42f 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,9 @@ Install: bundle install Configure: +Copy the sample configuration file into place: + cp KibanaConfig.rb.sample KibanaConfig.rb + Set your elasticsearch server in KibanaConfig.rb: Elasticsearch = "elasticsearch:9200"