diff options
author | thea <ta.kupler@gmail.com> | 2016-09-15 12:23:14 +0200 |
---|---|---|
committer | thea <ta.kupler@gmail.com> | 2016-09-15 12:23:14 +0200 |
commit | 6a8afd2f69a13f62841a3fe909beaad96928fadb (patch) | |
tree | aa8ef391257c164415e56e51c98b4a12072094b0 | |
parent | f575f57915d5369269849352a70b0e4704c3fd19 (diff) |
twitter readme now contains github markup to show secrets-file content
-rw-r--r-- | doc/TWITTER_FEED.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/TWITTER_FEED.md b/doc/TWITTER_FEED.md index dd3954c..221c334 100644 --- a/doc/TWITTER_FEED.md +++ b/doc/TWITTER_FEED.md @@ -19,6 +19,18 @@ LEAP web app (as part of the main view). * Activate the feature within your local LEAP Web Application * If not already existing create a secrets-file in /config with the name secrets.yml (`/config/secrets.yml`) * Secrets-file should contain the following, make sure its in YAML: {"development"=> {"twitter"=>{"enabled"=>false, "twitter_handle"=>"", "bearer_token"=>"", "twitter_picture"=>nil}}, "test"=>{"twitter"=>{"enabled"=>false, "twitter_handle"=>"", "bearer_token"=>"", "twitter_picture"=>nil}}} +``` +development: + twitter: + enabled: false # set to true for usage + twitter_handle: XXXXX #put your twitter handle here + bearer_token: XXXXX #put your bearer token here +test: + twitter: + enabled: false # set to true for usage + twitter_handle: XXXXX #put your twitter handle here + bearer_token: XXXXX #put your bearer token here +``` * To have your bearer token created, run script in terminal being in the file of leap_web: `script/generate_bearer_token` * To have the script run properly you have to add before running: `--key your_consumerkey --secret your_consumersecret` * Add also `--projectroot your_projectroot --twitterhandle your_twitterhandle` as well to not have manually put the data in your secrets-file |