payload: {"action":"created","comment":{"url":"https://api.github.com/repos/etalab/DVF-app/pulls/comments/281643376","pull_request_review_id":234531570,"id":281643376,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI4MTY0MzM3Ng==","diff_hunk":"@@ -10,43 +10,92 @@ Les données de Mayotte ainsi que de l'Alsace et de la Moselle sont manquantes.\n \n Une API développée par Christian Quest est disponible [ici](http://api.cquest.org/dvf), avec sa [documentation](http://data.cquest.org/dgfip_dvf/LISEZ_MOI.txt)\n \n-## Installation sur un serveur\n+## Installation\n \n-### Pré-requis\n+### 1- Pré-requis\n \n-Il faut un serveur Linux, avec au minium PostgreSQL et Python (Flask). Pour héberger l'application, ajouter Nginx, Supervisor et GUnicorn.\n+Il faut un serveur Linux (ici nous prendrons Ubuntu 18.04 comme exemple)\n \n-### Base de données\n+### 2- Recuperation du repo\n+```bash\n+$ git clone https://github.com/marion-paclot/DVF\n+$ cd DVF\n+```\n \n-Pour préparer la base de données, il faut lancer le script dédié. On peut procéder ainsi :\n+### 3- Installation minimale: pour développer l'interface utilisateur seule (Front End)\n \n+Pour participer au développement de l'interface utilisateur il n'est pas nécessaire d'installer Python et PostgreSQL.\n+\n+- [Node.js](https://nodejs.org) 8 ou supérieur\n ```bash\n-git clone https://github.com/marion-paclot/DVF\n-cd DVF\n-sh db/build_db.sh\n+$ sudo apt-get update && sudo apt install nodejs\n+$ nodejs -v\n+v8.10.0 \n ```\n \n-Le script commence par créer une base de données PostgreSQL et une table, puis télécharge les données DVF retraitées par Etalab, disponibles [ici](https://github.com/etalab/dvf/). Enfin quelques post-traitements sont effectués (traitement de quelques minutes).\n+- [yarn](https://yarnpkg.com)\n+```bash\n+$ curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -\n+$ echo \"deb https://dl.yarnpkg.com/debian/ stable main\" | sudo tee /etc/apt/sources.list.d/yarn.list\n+$ sudo apt-get update && sudo apt-get install yarn\n+$ yarn --version\n+1.15.2\n+```\n \n-## Développer l'interface utilisateur\n+Un script [Node.js](https://nodejs.org) permet de servir l'interface et de faire proxy vers l'API de production.\n \n-Pour participer au développement de l'interface utilisateur il n'est pas nécessaire d'installer Python et PostgreSQL.\n+installation des dépendances Node.js\n+```bash\n+$ yarn\n+```\n \n-Un script [Node.js](https://nodejs.org) permet de servir l'interface et de faire proxy vers l'API de production.\n+Démarrage du serveur Web (port 3000 par défaut)\n+```bash\n+$ yarn start\n+```\n \n-### Pré-requis\n+### 4- Installation complète: pour développer l'ensmble de l'application  (Full Stack: Back End + Front End)","path":"README.md","position":null,"original_position":67,"commit_id":"a8f906d3acfad55c60805831207696cd4996089b","original_commit_id":"17a1806e62a9a40c02f7d34a913b8d8cb380ee9f","user":{"login":"kriom","id":3259059,"node_id":"MDQ6VXNlcjMyNTkwNTk=","avatar_url":"https://avatars1.githubusercontent.com/u/3259059?v=4","gravatar_id":"","url":"https://api.github.com/users/kriom","html_url":"https://github.com/kriom","followers_url":"https://api.github.com/users/kriom/followers","following_url":"https://api.github.com/users/kriom/following{/other_user}","gists_url":"https://api.github.com/users/kriom/gists{/gist_id}","starred_url":"https://api.github.com/users/kriom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kriom/subscriptions","organizations_url":"https://api.github.com/users/kriom/orgs","repos_url":"https://api.github.com/users/kriom/repos","events_url":"https://api.github.com/users/kriom/events{/privacy}","received_events_url":"https://api.github.com/users/kriom/received_events","type":"User","site_admin":false},"body":"J'espère que c'est mieux :crossed_fingers: ","created_at":"2019-05-07T13:59:03Z","updated_at":"2019-05-07T13:59:03Z","html_url":"https://github.com/etalab/DVF-app/pull/50#discussion_r281643376","pull_request_url":"https://api.github.com/repos/etalab/DVF-app/pulls/50","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/etalab/DVF-app/pulls/comments/281643376"},"html":{"href":"https://github.com/etalab/DVF-app/pull/50#discussion_r281643376"},"pull_request":{"href":"https://api.github.com/repos/etalab/DVF-app/pulls/50"}},"in_reply_to_id":281636599},"pull_request":{"url":"https://api.github.com/repos/etalab/DVF-app/pulls/50","id":276602156,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjc2NjAyMTU2","html_url":"https://github.com/etalab/DVF-app/pull/50","diff_url":"https://github.com/etalab/DVF-app/pull/50.diff","patch_url":"https://github.com/etalab/DVF-app/pull/50.patch","issue_url":"https://api.github.com/repos/etalab/DVF-app/issues/50","number":50,"state":"open","locked":false,"title":" Ajout de la procédure d'installation au README","user":{"login":"kriom","id":3259059,"node_id":"MDQ6VXNlcjMyNTkwNTk=","avatar_url":"https://avatars1.githubusercontent.com/u/3259059?v=4","gravatar_id":"","url":"https://api.github.com/users/kriom","html_url":"https://github.com/kriom","followers_url":"https://api.github.com/users/kriom/followers","following_url":"https://api.github.com/users/kriom/following{/other_user}","gists_url":"https://api.github.com/users/kriom/gists{/gist_id}","starred_url":"https://api.github.com/users/kriom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kriom/subscriptions","organizations_url":"https://api.github.com/users/kriom/orgs","repos_url":"https://api.github.com/users/kriom/repos","events_url":"https://api.github.com/users/kriom/events{/privacy}","received_events_url":"https://api.github.com/users/kriom/received_events","type":"User","site_admin":false},"body":"Je propose cette modification du README afin d'ajouter une procédure d'installation.\r\n\r\nBien cordialement.","created_at":"2019-05-07T13:36:43Z","updated_at":"2019-05-07T13:59:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6b56de8041f193d08c87efac2b277cbce7cff8d9","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/etalab/DVF-app/pulls/50/commits","review_comments_url":"https://api.github.com/repos/etalab/DVF-app/pulls/50/comments","review_comment_url":"https://api.github.com/repos/etalab/DVF-app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/etalab/DVF-app/issues/50/comments","statuses_url":"https://api.github.com/repos/etalab/DVF-app/statuses/a8f906d3acfad55c60805831207696cd4996089b","head":{"label":"kriom:update-readme","ref":"update-readme","sha":"a8f906d3acfad55c60805831207696cd4996089b","user":{"login":"kriom","id":3259059,"node_id":"MDQ6VXNlcjMyNTkwNTk=","avatar_url":"https://avatars1.githubusercontent.com/u/3259059?v=4","gravatar_id":"","url":"https://api.github.com/users/kriom","html_url":"https://github.com/kriom","followers_url":"https://api.github.com/users/kriom/followers","following_url":"https://api.github.com/users/kriom/following{/other_user}","gists_url":"https://api.github.com/users/kriom/gists{/gist_id}","starred_url":"https://api.github.com/users/kriom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kriom/subscriptions","organizations_url":"https://api.github.com/users/kriom/orgs","repos_url":"https://api.github.com/users/kriom/repos","events_url":"https://api.github.com/users/kriom/events{/privacy}","received_events_url":"https://api.github.com/users/kriom/received_events","type":"User","site_admin":false},"repo":{"id":184880174,"node_id":"MDEwOlJlcG9zaXRvcnkxODQ4ODAxNzQ=","name":"DVF","full_name":"kriom/DVF","private":false,"owner":{"login":"kriom","id":3259059,"node_id":"MDQ6VXNlcjMyNTkwNTk=","avatar_url":"https://avatars1.githubusercontent.com/u/3259059?v=4","gravatar_id":"","url":"https://api.github.com/users/kriom","html_url":"https://github.com/kriom","followers_url":"https://api.github.com/users/kriom/followers","following_url":"https://api.github.com/users/kriom/following{/other_user}","gists_url":"https://api.github.com/users/kriom/gists{/gist_id}","starred_url":"https://api.github.com/users/kriom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kriom/subscriptions","organizations_url":"https://api.github.com/users/kriom/orgs","repos_url":"https://api.github.com/users/kriom/repos","events_url":"https://api.github.com/users/kriom/events{/privacy}","received_events_url":"https://api.github.com/users/kriom/received_events","type":"User","site_admin":false},"html_url":"https://github.com/kriom/DVF","description":"Exploration des données DVF","fork":true,"url":"https://api.github.com/repos/kriom/DVF","forks_url":"https://api.github.com/repos/kriom/DVF/forks","keys_url":"https://api.github.com/repos/kriom/DVF/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kriom/DVF/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kriom/DVF/teams","hooks_url":"https://api.github.com/repos/kriom/DVF/hooks","issue_events_url":"https://api.github.com/repos/kriom/DVF/issues/events{/number}","events_url":"https://api.github.com/repos/kriom/DVF/events","assignees_url":"https://api.github.com/repos/kriom/DVF/assignees{/user}","branches_url":"https://api.github.com/repos/kriom/DVF/branches{/branch}","tags_url":"https://api.github.com/repos/kriom/DVF/tags","blobs_url":"https://api.github.com/repos/kriom/DVF/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kriom/DVF/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kriom/DVF/git/refs{/sha}","trees_url":"https://api.github.com/repos/kriom/DVF/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kriom/DVF/statuses/{sha}","languages_url":"https://api.github.com/repos/kriom/DVF/languages","stargazers_url":"https://api.github.com/repos/kriom/DVF/stargazers","contributors_url":"https://api.github.com/repos/kriom/DVF/contributors","subscribers_url":"https://api.github.com/repos/kriom/DVF/subscribers","subscription_url":"https://api.github.com/repos/kriom/DVF/subscription","commits_url":"https://api.github.com/repos/kriom/DVF/commits{/sha}","git_commits_url":"https://api.github.com/repos/kriom/DVF/git/commits{/sha}","comments_url":"https://api.github.com/repos/kriom/DVF/comments{/number}","issue_comment_url":"https://api.github.com/repos/kriom/DVF/issues/comments{/number}","contents_url":"https://api.github.com/repos/kriom/DVF/contents/{+path}","compare_url":"https://api.github.com/repos/kriom/DVF/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kriom/DVF/merges","archive_url":"https://api.github.com/repos/kriom/DVF/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kriom/DVF/downloads","issues_url":"https://api.github.com/repos/kriom/DVF/issues{/number}","pulls_url":"https://api.github.com/repos/kriom/DVF/pulls{/number}","milestones_url":"https://api.github.com/repos/kriom/DVF/milestones{/number}","notifications_url":"https://api.github.com/repos/kriom/DVF/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kriom/DVF/labels{/name}","releases_url":"https://api.github.com/repos/kriom/DVF/releases{/id}","deployments_url":"https://api.github.com/repos/kriom/DVF/deployments","created_at":"2019-05-04T10:19:10Z","updated_at":"2019-05-06T09:34:27Z","pushed_at":"2019-05-07T13:57:14Z","git_url":"git://github.com/kriom/DVF.git","ssh_url":"git@github.com:kriom/DVF.git","clone_url":"https://github.com/kriom/DVF.git","svn_url":"https://github.com/kriom/DVF","homepage":"http://app.dvf.etalab.gouv.fr","size":1435,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"etalab:master","ref":"master","sha":"fa254f07a52b8de351777cc151f9df0f7d9d0963","user":{"login":"etalab","id":5313610,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUzMTM2MTA=","avatar_url":"https://avatars1.githubusercontent.com/u/5313610?v=4","gravatar_id":"","url":"https://api.github.com/users/etalab","html_url":"https://github.com/etalab","followers_url":"https://api.github.com/users/etalab/followers","following_url":"https://api.github.com/users/etalab/following{/other_user}","gists_url":"https://api.github.com/users/etalab/gists{/gist_id}","starred_url":"https://api.github.com/users/etalab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etalab/subscriptions","organizations_url":"https://api.github.com/users/etalab/orgs","repos_url":"https://api.github.com/users/etalab/repos","events_url":"https://api.github.com/users/etalab/events{/privacy}","received_events_url":"https://api.github.com/users/etalab/received_events","type":"Organization","site_admin":false},"repo":{"id":182281397,"node_id":"MDEwOlJlcG9zaXRvcnkxODIyODEzOTc=","name":"DVF-app","full_name":"etalab/DVF-app","private":false,"owner":{"login":"etalab","id":5313610,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUzMTM2MTA=","avatar_url":"https://avatars1.githubusercontent.com/u/5313610?v=4","gravatar_id":"","url":"https://api.github.com/users/etalab","html_url":"https://github.com/etalab","followers_url":"https://api.github.com/users/etalab/followers","following_url":"https://api.github.com/users/etalab/following{/other_user}","gists_url":"https://api.github.com/users/etalab/gists{/gist_id}","starred_url":"https://api.github.com/users/etalab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etalab/subscriptions","organizations_url":"https://api.github.com/users/etalab/orgs","repos_url":"https://api.github.com/users/etalab/repos","events_url":"https://api.github.com/users/etalab/events{/privacy}","received_events_url":"https://api.github.com/users/etalab/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/etalab/DVF-app","description":"Exploration des données DVF","fork":false,"url":"https://api.github.com/repos/etalab/DVF-app","forks_url":"https://api.github.com/repos/etalab/DVF-app/forks","keys_url":"https://api.github.com/repos/etalab/DVF-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/etalab/DVF-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/etalab/DVF-app/teams","hooks_url":"https://api.github.com/repos/etalab/DVF-app/hooks","issue_events_url":"https://api.github.com/repos/etalab/DVF-app/issues/events{/number}","events_url":"https://api.github.com/repos/etalab/DVF-app/events","assignees_url":"https://api.github.com/repos/etalab/DVF-app/assignees{/user}","branches_url":"https://api.github.com/repos/etalab/DVF-app/branches{/branch}","tags_url":"https://api.github.com/repos/etalab/DVF-app/tags","blobs_url":"https://api.github.com/repos/etalab/DVF-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/etalab/DVF-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/etalab/DVF-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/etalab/DVF-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/etalab/DVF-app/statuses/{sha}","languages_url":"https://api.github.com/repos/etalab/DVF-app/languages","stargazers_url":"https://api.github.com/repos/etalab/DVF-app/stargazers","contributors_url":"https://api.github.com/repos/etalab/DVF-app/contributors","subscribers_url":"https://api.github.com/repos/etalab/DVF-app/subscribers","subscription_url":"https://api.github.com/repos/etalab/DVF-app/subscription","commits_url":"https://api.github.com/repos/etalab/DVF-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/etalab/DVF-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/etalab/DVF-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/etalab/DVF-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/etalab/DVF-app/contents/{+path}","compare_url":"https://api.github.com/repos/etalab/DVF-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/etalab/DVF-app/merges","archive_url":"https://api.github.com/repos/etalab/DVF-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/etalab/DVF-app/downloads","issues_url":"https://api.github.com/repos/etalab/DVF-app/issues{/number}","pulls_url":"https://api.github.com/repos/etalab/DVF-app/pulls{/number}","milestones_url":"https://api.github.com/repos/etalab/DVF-app/milestones{/number}","notifications_url":"https://api.github.com/repos/etalab/DVF-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/etalab/DVF-app/labels{/name}","releases_url":"https://api.github.com/repos/etalab/DVF-app/releases{/id}","deployments_url":"https://api.github.com/repos/etalab/DVF-app/deployments","created_at":"2019-04-19T14:58:29Z","updated_at":"2019-05-07T13:56:37Z","pushed_at":"2019-05-07T13:57:16Z","git_url":"git://github.com/etalab/DVF-app.git","ssh_url":"git@github.com:etalab/DVF-app.git","clone_url":"https://github.com/etalab/DVF-app.git","svn_url":"https://github.com/etalab/DVF-app","homepage":"http://app.dvf.etalab.gouv.fr","size":1466,"stargazers_count":116,"watchers_count":116,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":6,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":23,"open_issues":6,"watchers":116,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/etalab/DVF-app/pulls/50"},"html":{"href":"https://github.com/etalab/DVF-app/pull/50"},"issue":{"href":"https://api.github.com/repos/etalab/DVF-app/issues/50"},"comments":{"href":"https://api.github.com/repos/etalab/DVF-app/issues/50/comments"},"review_comments":{"href":"https://api.github.com/repos/etalab/DVF-app/pulls/50/comments"},"review_comment":{"href":"https://api.github.com/repos/etalab/DVF-app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/etalab/DVF-app/pulls/50/commits"},"statuses":{"href":"https://api.github.com/repos/etalab/DVF-app/statuses/a8f906d3acfad55c60805831207696cd4996089b"}},"author_association":"CONTRIBUTOR"}}
other: {"actor":{"display_login":"kriom"}}