From 651f101815bf7fe88dc4515f40caf4a813a5544f Mon Sep 17 00:00:00 2001 From: Jamie Cobbett Date: Tue, 30 Oct 2012 15:46:54 +0000 Subject: [PATCH] Make working with the Zendesk API more practical This should allow developers/designers to keep the working production credentials (needed to view almost every page) in their local checkout, without it being committed and published. --- .gitignore | 2 ++ config/{zendesk.yml => zendesk.yml.template} | 5 +++++ 2 files changed, 7 insertions(+) rename config/{zendesk.yml => zendesk.yml.template} (50%) diff --git a/.gitignore b/.gitignore index eb3489a98..f80fbeae8 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,5 @@ # Ignore all logfiles and tempfiles. /log/*.log /tmp + +config/zendesk.yml \ No newline at end of file diff --git a/config/zendesk.yml b/config/zendesk.yml.template similarity index 50% rename from config/zendesk.yml rename to config/zendesk.yml.template index a12a8cfce..dc7fa0ced 100644 --- a/config/zendesk.yml +++ b/config/zendesk.yml.template @@ -1,3 +1,8 @@ +# Copy this file to "zendesk.yml" and overwrite the development username and password +# with the production values in alphagov-deployment. +# +# It is very important that we don't commit (publish) production credentials to Git(Hub). +# development: url: "https://govuk.zendesk.com/api/v2" username: "not-a-real-account@digital.cabinet-office.gov.uk/token"