From 479bafa9d2f9f182fd5d73c8c1bdfd28e8a73ee6 Mon Sep 17 00:00:00 2001 From: Patrick Connolly Date: Wed, 28 Jun 2017 18:52:48 -0400 Subject: [PATCH 1/3] Added helpful comments on where to find Slack/Airtable credentials. --- .env.example | 3 +++ README.md | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.env.example b/.env.example index 70d448f..bae7b8e 100644 --- a/.env.example +++ b/.env.example @@ -1,4 +1,7 @@ +# From legacy token page: https://api.slack.com/custom-integrations/legacy-tokens SLACK_API_TOKEN=xoxp-_______________________________________________ +# From account page: https://airtable.com/account AIRTABLE_KEY=key______________ +# From URL of your base: https://airtable.com/api AIRTABLE_APP=app_____________ AIRTABLE_BASE="Channel List copy" diff --git a/README.md b/README.md index e961ede..279cc96 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,9 @@ There's also a rake task that will simply run `bin/sync`: rake prog:channels:sync +**Note:** Check out the comments in `.env.example` for details on where +to get each credential for configuration. + ## Testing Integration tests essentially check that the tokens for Slack and for Airtable are set and are valid. From 1ddd944a78fe79f0ba6341b827608ae2a12a6007 Mon Sep 17 00:00:00 2001 From: Patrick Connolly Date: Wed, 28 Jun 2017 18:57:01 -0400 Subject: [PATCH 2/3] Added link to .env.example file in README. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 279cc96..fbeb874 100644 --- a/README.md +++ b/README.md @@ -14,8 +14,8 @@ There's also a rake task that will simply run `bin/sync`: rake prog:channels:sync -**Note:** Check out the comments in `.env.example` for details on where -to get each credential for configuration. +**Note:** Check out the comments in [`.env.example`](.env.example) for +details on where to get each credential for configuration. ## Testing From f39eb49e7afde518a0c52d12719b2093f90ef323 Mon Sep 17 00:00:00 2001 From: Patrick Connolly Date: Thu, 29 Jun 2017 14:05:45 -0400 Subject: [PATCH 3/3] Added rake to gemfile. [Closes #6] --- Gemfile | 1 + Gemfile.lock | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 3d14b7a..67c693a 100644 --- a/Gemfile +++ b/Gemfile @@ -4,3 +4,4 @@ source 'https://rubygems.org' gemspec gem 'rack' +gem 'rake' diff --git a/Gemfile.lock b/Gemfile.lock index 7f22695..20e1946 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -57,7 +57,7 @@ DEPENDENCIES minitest (~> 5.0) prog-channels! rack - rake (~> 10.0) + rake BUNDLED WITH 1.14.6