From 881e7076fa413f34e57b2a3c0229a9acaf7c2823 Mon Sep 17 00:00:00 2001 From: Michael Snoyman Date: Fri, 24 Oct 2014 13:57:40 +0300 Subject: [PATCH] Create -sample config files to avoid credentials in repo --- .gitignore | 4 ++++ README.md | 5 +++++ config/{postgresql.yml => postgresql.yml-sample} | 0 config/{settings.yml => settings.yml-sample} | 0 4 files changed, 9 insertions(+) rename config/{postgresql.yml => postgresql.yml-sample} (100%) rename config/{settings.yml => settings.yml-sample} (100%) diff --git a/.gitignore b/.gitignore index 2ba7ace..a452312 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,7 @@ cabal.sandbox.config *.swp /dev-blob-store/ TAGS +/config/postgresql.yml +/config/settings.yml +/tarballs/ +stackage-server.keter diff --git a/README.md b/README.md index 9ac5b36..ff30601 100644 --- a/README.md +++ b/README.md @@ -6,3 +6,8 @@ Server for stable, curated Haskell package sets Code builds with the Stackage snapshot: remote-repo: stackage:http://www.stackage.org/stackage/aecbf72b568a63e86a971311fee5475f076043cc + +Inside the config directory, there are two files ending in `-sample`. They +should be copied to remove the `-sample` suffix for the site to work. We do it +this way to avoid accidentally committing real database credentials into the +Git repository. diff --git a/config/postgresql.yml b/config/postgresql.yml-sample similarity index 100% rename from config/postgresql.yml rename to config/postgresql.yml-sample diff --git a/config/settings.yml b/config/settings.yml-sample similarity index 100% rename from config/settings.yml rename to config/settings.yml-sample