{"action":"created","comment":{"url":"https://api.github.com/repos/novoda/dashboards/pulls/comments/93403495","pull_request_review_id":13928765,"id":93403495,"diff_hunk":"@@ -1,31 +1,21 @@\n-Slacker\n+Server\n ===\n \n-## Set up\n-\n-In order to run Slacker locally you'll need to have nodejs (and npm) installed. If you don't, go do it now! \n-\n-To run the server, first make sure you have all the dependencies installed by running `npm install` under the \"slacker\" dir.\n-Then create a `config.json` in the `slacker dir` and specify the following: \n-\n-```json\n-{\n-  \"server\": {\n-    \"port\": \"\"\n-  },\n-  \"widgets\": {\n-    \"sonar\": {\n-      \"token\": \"\"\n-    },\n-    \"slack\": {\n-      \"token\": \"\"\n-    }\n-  }\n-}\n-```\n+## Set up\n+\n+In order to run the server locally you'll need to have nodejs (and npm) installed. If you don't, do it now!\n+\n+To run the server, first make sure you have all the dependencies installed by running `npm install`.\n+Then create a `config.json` in the root directory and specify the server port, the different keys and tokens you need for the services you are going to use. An example is available in `config.json.sample`.\n+\n+You can have different dashboard instances containing different widgets or the same widgets but with different parameters.\n+This might be handy if you have multiple locations where you want to have a dashboard but do not want the same informations everywhere (different office locations, different projects...). An example of such configuration with all the currently available widgets is available under `server/configs/sample.json`.\n+Accessing the sample configuration on the client is as easy as pointing the browser to the following url: `http://localhost:4200/dashboards/sample`, the last bit of the url being the name of the json file.","path":"node-server/README.md","position":null,"original_position":36,"commit_id":"6b9dd2869430d8045c4f8487e6633e407ed3ed49","original_commit_id":"b08e74befea2d57b9adfd120c058290eaeae7d15","user":{"login":"eduardb","id":2426348,"avatar_url":"https://avatars.githubusercontent.com/u/2426348?v=3","gravatar_id":"","url":"https://api.github.com/users/eduardb","html_url":"https://github.com/eduardb","followers_url":"https://api.github.com/users/eduardb/followers","following_url":"https://api.github.com/users/eduardb/following{/other_user}","gists_url":"https://api.github.com/users/eduardb/gists{/gist_id}","starred_url":"https://api.github.com/users/eduardb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eduardb/subscriptions","organizations_url":"https://api.github.com/users/eduardb/orgs","repos_url":"https://api.github.com/users/eduardb/repos","events_url":"https://api.github.com/users/eduardb/events{/privacy}","received_events_url":"https://api.github.com/users/eduardb/received_events","type":"User","site_admin":false},"body":"Done in 95a8424","created_at":"2016-12-21T09:35:32Z","updated_at":"2016-12-21T09:35:32Z","html_url":"https://github.com/novoda/dashboards/pull/34#discussion_r93403495","pull_request_url":"https://api.github.com/repos/novoda/dashboards/pulls/34","_links":{"self":{"href":"https://api.github.com/repos/novoda/dashboards/pulls/comments/93403495"},"html":{"href":"https://github.com/novoda/dashboards/pull/34#discussion_r93403495"},"pull_request":{"href":"https://api.github.com/repos/novoda/dashboards/pulls/34"}}},"pull_request":{"url":"https://api.github.com/repos/novoda/dashboards/pulls/34","id":98756340,"html_url":"https://github.com/novoda/dashboards/pull/34","diff_url":"https://github.com/novoda/dashboards/pull/34.diff","patch_url":"https://github.com/novoda/dashboards/pull/34.patch","issue_url":"https://api.github.com/repos/novoda/dashboards/issues/34","number":34,"state":"open","locked":false,"title":"PT-346/PT-356: Update documentation","user":{"login":"florianmski","id":479277,"avatar_url":"https://avatars.githubusercontent.com/u/479277?v=3","gravatar_id":"","url":"https://api.github.com/users/florianmski","html_url":"https://github.com/florianmski","followers_url":"https://api.github.com/users/florianmski/followers","following_url":"https://api.github.com/users/florianmski/following{/other_user}","gists_url":"https://api.github.com/users/florianmski/gists{/gist_id}","starred_url":"https://api.github.com/users/florianmski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/florianmski/subscriptions","organizations_url":"https://api.github.com/users/florianmski/orgs","repos_url":"https://api.github.com/users/florianmski/repos","events_url":"https://api.github.com/users/florianmski/events{/privacy}","received_events_url":"https://api.github.com/users/florianmski/received_events","type":"User","site_admin":false},"body":"> Tracked in JIRA by [PT-356](https://novoda.atlassian.net/browse/PT-356)\r\n\r\n### Scope of the PR\r\n\r\nUpdate documentation to reflect changes on how to configure dashboards.\r\nAlso update sample files and get rid of the `all.json` which should be defined privately on our server.","created_at":"2016-12-20T14:17:07Z","updated_at":"2016-12-21T09:35:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"41d70e87e14d5ef020556bd3dc8356abf84b65fc","assignee":{"login":"xrigau","id":1626673,"avatar_url":"https://avatars.githubusercontent.com/u/1626673?v=3","gravatar_id":"","url":"https://api.github.com/users/xrigau","html_url":"https://github.com/xrigau","followers_url":"https://api.github.com/users/xrigau/followers","following_url":"https://api.github.com/users/xrigau/following{/other_user}","gists_url":"https://api.github.com/users/xrigau/gists{/gist_id}","starred_url":"https://api.github.com/users/xrigau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xrigau/subscriptions","organizations_url":"https://api.github.com/users/xrigau/orgs","repos_url":"https://api.github.com/users/xrigau/repos","events_url":"https://api.github.com/users/xrigau/events{/privacy}","received_events_url":"https://api.github.com/users/xrigau/received_events","type":"User","site_admin":false},"assignees":[{"login":"xrigau","id":1626673,"avatar_url":"https://avatars.githubusercontent.com/u/1626673?v=3","gravatar_id":"","url":"https://api.github.com/users/xrigau","html_url":"https://github.com/xrigau","followers_url":"https://api.github.com/users/xrigau/followers","following_url":"https://api.github.com/users/xrigau/following{/other_user}","gists_url":"https://api.github.com/users/xrigau/gists{/gist_id}","starred_url":"https://api.github.com/users/xrigau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xrigau/subscriptions","organizations_url":"https://api.github.com/users/xrigau/orgs","repos_url":"https://api.github.com/users/xrigau/repos","events_url":"https://api.github.com/users/xrigau/events{/privacy}","received_events_url":"https://api.github.com/users/xrigau/received_events","type":"User","site_admin":false},{"login":"eduardb","id":2426348,"avatar_url":"https://avatars.githubusercontent.com/u/2426348?v=3","gravatar_id":"","url":"https://api.github.com/users/eduardb","html_url":"https://github.com/eduardb","followers_url":"https://api.github.com/users/eduardb/followers","following_url":"https://api.github.com/users/eduardb/following{/other_user}","gists_url":"https://api.github.com/users/eduardb/gists{/gist_id}","starred_url":"https://api.github.com/users/eduardb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eduardb/subscriptions","organizations_url":"https://api.github.com/users/eduardb/orgs","repos_url":"https://api.github.com/users/eduardb/repos","events_url":"https://api.github.com/users/eduardb/events{/privacy}","received_events_url":"https://api.github.com/users/eduardb/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/novoda/dashboards/pulls/34/commits","review_comments_url":"https://api.github.com/repos/novoda/dashboards/pulls/34/comments","review_comment_url":"https://api.github.com/repos/novoda/dashboards/pulls/comments{/number}","comments_url":"https://api.github.com/repos/novoda/dashboards/issues/34/comments","statuses_url":"https://api.github.com/repos/novoda/dashboards/statuses/6b9dd2869430d8045c4f8487e6633e407ed3ed49","head":{"label":"novoda:PT-346/PT-356/update-documentation","ref":"PT-346/PT-356/update-documentation","sha":"6b9dd2869430d8045c4f8487e6633e407ed3ed49","user":{"login":"novoda","id":74874,"avatar_url":"https://avatars.githubusercontent.com/u/74874?v=3","gravatar_id":"","url":"https://api.github.com/users/novoda","html_url":"https://github.com/novoda","followers_url":"https://api.github.com/users/novoda/followers","following_url":"https://api.github.com/users/novoda/following{/other_user}","gists_url":"https://api.github.com/users/novoda/gists{/gist_id}","starred_url":"https://api.github.com/users/novoda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/novoda/subscriptions","organizations_url":"https://api.github.com/users/novoda/orgs","repos_url":"https://api.github.com/users/novoda/repos","events_url":"https://api.github.com/users/novoda/events{/privacy}","received_events_url":"https://api.github.com/users/novoda/received_events","type":"Organization","site_admin":false},"repo":{"id":73312159,"name":"dashboards","full_name":"novoda/dashboards","owner":{"login":"novoda","id":74874,"avatar_url":"https://avatars.githubusercontent.com/u/74874?v=3","gravatar_id":"","url":"https://api.github.com/users/novoda","html_url":"https://github.com/novoda","followers_url":"https://api.github.com/users/novoda/followers","following_url":"https://api.github.com/users/novoda/following{/other_user}","gists_url":"https://api.github.com/users/novoda/gists{/gist_id}","starred_url":"https://api.github.com/users/novoda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/novoda/subscriptions","organizations_url":"https://api.github.com/users/novoda/orgs","repos_url":"https://api.github.com/users/novoda/repos","events_url":"https://api.github.com/users/novoda/events{/privacy}","received_events_url":"https://api.github.com/users/novoda/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/novoda/dashboards","description":"Get some fancy dashboards in your office!","fork":false,"url":"https://api.github.com/repos/novoda/dashboards","forks_url":"https://api.github.com/repos/novoda/dashboards/forks","keys_url":"https://api.github.com/repos/novoda/dashboards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/novoda/dashboards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/novoda/dashboards/teams","hooks_url":"https://api.github.com/repos/novoda/dashboards/hooks","issue_events_url":"https://api.github.com/repos/novoda/dashboards/issues/events{/number}","events_url":"https://api.github.com/repos/novoda/dashboards/events","assignees_url":"https://api.github.com/repos/novoda/dashboards/assignees{/user}","branches_url":"https://api.github.com/repos/novoda/dashboards/branches{/branch}","tags_url":"https://api.github.com/repos/novoda/dashboards/tags","blobs_url":"https://api.github.com/repos/novoda/dashboards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/novoda/dashboards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/novoda/dashboards/git/refs{/sha}","trees_url":"https://api.github.com/repos/novoda/dashboards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/novoda/dashboards/statuses/{sha}","languages_url":"https://api.github.com/repos/novoda/dashboards/languages","stargazers_url":"https://api.github.com/repos/novoda/dashboards/stargazers","contributors_url":"https://api.github.com/repos/novoda/dashboards/contributors","subscribers_url":"https://api.github.com/repos/novoda/dashboards/subscribers","subscription_url":"https://api.github.com/repos/novoda/dashboards/subscription","commits_url":"https://api.github.com/repos/novoda/dashboards/commits{/sha}","git_commits_url":"https://api.github.com/repos/novoda/dashboards/git/commits{/sha}","comments_url":"https://api.github.com/repos/novoda/dashboards/comments{/number}","issue_comment_url":"https://api.github.com/repos/novoda/dashboards/issues/comments{/number}","contents_url":"https://api.github.com/repos/novoda/dashboards/contents/{+path}","compare_url":"https://api.github.com/repos/novoda/dashboards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/novoda/dashboards/merges","archive_url":"https://api.github.com/repos/novoda/dashboards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/novoda/dashboards/downloads","issues_url":"https://api.github.com/repos/novoda/dashboards/issues{/number}","pulls_url":"https://api.github.com/repos/novoda/dashboards/pulls{/number}","milestones_url":"https://api.github.com/repos/novoda/dashboards/milestones{/number}","notifications_url":"https://api.github.com/repos/novoda/dashboards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/novoda/dashboards/labels{/name}","releases_url":"https://api.github.com/repos/novoda/dashboards/releases{/id}","deployments_url":"https://api.github.com/repos/novoda/dashboards/deployments","created_at":"2016-11-09T18:53:32Z","updated_at":"2016-12-03T17:24:17Z","pushed_at":"2016-12-21T09:34:12Z","git_url":"git://github.com/novoda/dashboards.git","ssh_url":"git@github.com:novoda/dashboards.git","clone_url":"https://github.com/novoda/dashboards.git","svn_url":"https://github.com/novoda/dashboards","homepage":null,"size":1162,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":2,"default_branch":"master"}},"base":{"label":"novoda:PT-346/feature-branch","ref":"PT-346/feature-branch","sha":"d6617e02d3332eabf06c7c94e4fcce704eb171c7","user":{"login":"novoda","id":74874,"avatar_url":"https://avatars.githubusercontent.com/u/74874?v=3","gravatar_id":"","url":"https://api.github.com/users/novoda","html_url":"https://github.com/novoda","followers_url":"https://api.github.com/users/novoda/followers","following_url":"https://api.github.com/users/novoda/following{/other_user}","gists_url":"https://api.github.com/users/novoda/gists{/gist_id}","starred_url":"https://api.github.com/users/novoda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/novoda/subscriptions","organizations_url":"https://api.github.com/users/novoda/orgs","repos_url":"https://api.github.com/users/novoda/repos","events_url":"https://api.github.com/users/novoda/events{/privacy}","received_events_url":"https://api.github.com/users/novoda/received_events","type":"Organization","site_admin":false},"repo":{"id":73312159,"name":"dashboards","full_name":"novoda/dashboards","owner":{"login":"novoda","id":74874,"avatar_url":"https://avatars.githubusercontent.com/u/74874?v=3","gravatar_id":"","url":"https://api.github.com/users/novoda","html_url":"https://github.com/novoda","followers_url":"https://api.github.com/users/novoda/followers","following_url":"https://api.github.com/users/novoda/following{/other_user}","gists_url":"https://api.github.com/users/novoda/gists{/gist_id}","starred_url":"https://api.github.com/users/novoda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/novoda/subscriptions","organizations_url":"https://api.github.com/users/novoda/orgs","repos_url":"https://api.github.com/users/novoda/repos","events_url":"https://api.github.com/users/novoda/events{/privacy}","received_events_url":"https://api.github.com/users/novoda/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/novoda/dashboards","description":"Get some fancy dashboards in your office!","fork":false,"url":"https://api.github.com/repos/novoda/dashboards","forks_url":"https://api.github.com/repos/novoda/dashboards/forks","keys_url":"https://api.github.com/repos/novoda/dashboards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/novoda/dashboards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/novoda/dashboards/teams","hooks_url":"https://api.github.com/repos/novoda/dashboards/hooks","issue_events_url":"https://api.github.com/repos/novoda/dashboards/issues/events{/number}","events_url":"https://api.github.com/repos/novoda/dashboards/events","assignees_url":"https://api.github.com/repos/novoda/dashboards/assignees{/user}","branches_url":"https://api.github.com/repos/novoda/dashboards/branches{/branch}","tags_url":"https://api.github.com/repos/novoda/dashboards/tags","blobs_url":"https://api.github.com/repos/novoda/dashboards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/novoda/dashboards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/novoda/dashboards/git/refs{/sha}","trees_url":"https://api.github.com/repos/novoda/dashboards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/novoda/dashboards/statuses/{sha}","languages_url":"https://api.github.com/repos/novoda/dashboards/languages","stargazers_url":"https://api.github.com/repos/novoda/dashboards/stargazers","contributors_url":"https://api.github.com/repos/novoda/dashboards/contributors","subscribers_url":"https://api.github.com/repos/novoda/dashboards/subscribers","subscription_url":"https://api.github.com/repos/novoda/dashboards/subscription","commits_url":"https://api.github.com/repos/novoda/dashboards/commits{/sha}","git_commits_url":"https://api.github.com/repos/novoda/dashboards/git/commits{/sha}","comments_url":"https://api.github.com/repos/novoda/dashboards/comments{/number}","issue_comment_url":"https://api.github.com/repos/novoda/dashboards/issues/comments{/number}","contents_url":"https://api.github.com/repos/novoda/dashboards/contents/{+path}","compare_url":"https://api.github.com/repos/novoda/dashboards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/novoda/dashboards/merges","archive_url":"https://api.github.com/repos/novoda/dashboards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/novoda/dashboards/downloads","issues_url":"https://api.github.com/repos/novoda/dashboards/issues{/number}","pulls_url":"https://api.github.com/repos/novoda/dashboards/pulls{/number}","milestones_url":"https://api.github.com/repos/novoda/dashboards/milestones{/number}","notifications_url":"https://api.github.com/repos/novoda/dashboards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/novoda/dashboards/labels{/name}","releases_url":"https://api.github.com/repos/novoda/dashboards/releases{/id}","deployments_url":"https://api.github.com/repos/novoda/dashboards/deployments","created_at":"2016-11-09T18:53:32Z","updated_at":"2016-12-03T17:24:17Z","pushed_at":"2016-12-21T09:34:12Z","git_url":"git://github.com/novoda/dashboards.git","ssh_url":"git@github.com:novoda/dashboards.git","clone_url":"https://github.com/novoda/dashboards.git","svn_url":"https://github.com/novoda/dashboards","homepage":null,"size":1162,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/novoda/dashboards/pulls/34"},"html":{"href":"https://github.com/novoda/dashboards/pull/34"},"issue":{"href":"https://api.github.com/repos/novoda/dashboards/issues/34"},"comments":{"href":"https://api.github.com/repos/novoda/dashboards/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/novoda/dashboards/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/novoda/dashboards/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/novoda/dashboards/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/novoda/dashboards/statuses/6b9dd2869430d8045c4f8487e6633e407ed3ed49"}}}}
{"actor":{"display_login":"eduardb"}}