{"action":"created","comment":{"url":"https://api.github.com/repos/vector-im/vector-web/pulls/comments/50851594","id":50851594,"diff_hunk":"@@ -54,9 +79,82 @@ about \"Cannot resolve module 'source-map-loader'\" due to shortcomings in webpack\n Deployment\n ==========\n \n+Configure the app by modifying the `config.json` file to the correct values:\n+\n+1. default_hs_url is for the home server url (could be http://your.server.ip:8008 if vector and synapse are on the same machine),\n+2. default_is_url is for the identity server (could be empty but if you let it empty, email notifications and email login may not work).\n+\n+\n Just run `npm run build` and then mount the `vector` directory on your webserver to\n actually serve up the app, which is entirely static content.\n \n+The port 8008 is used for http and 8448 for https. Set `http://your.server.ip:8008` or `https://your.server.ip:8448`\n+\n+If you want to expose your service outside, don't forget to open the port in your firewall / box\n+\n+Example of apache vhost configuration:\n+\n+```\n+<VirtualHost *:80>\n+\tServerAdmin webmaster@localhost\n+\n+\tDocumentRoot /var/www/vector-web/vector\n+\t<Directory />\n+\t\tOptions FollowSymLinks\n+\t\tAllowOverride None\n+\t</Directory>\n+\t<Directory /var/www/vector-web/vector/>\n+\t\tOptions Indexes FollowSymLinks MultiViews\n+\t\tAllowOverride None\n+\t\tOrder allow,deny\n+\t\tallow from all\n+\t</Directory>\n+\n+\tErrorLog ${APACHE_LOG_DIR}/error.log\n+\n+\t# Possible values include: debug, info, notice, warn, error, crit,\n+\t# alert, emerg.\n+\tLogLevel warn\n+\n+\tCustomLog ${APACHE_LOG_DIR}/access.log combined\n+</VirtualHost>\n+```\n+\n+You can add a reverse proxy if you do not want to expose your server on a new port.\n+\n+```\n+$ sudo a2enmod proxy\n+$ sudo a2enmod proxy_http\n+```\n+\n+And add this to inside your apache vhost:\n+\n+```\n+ProxyRequests Off\n+ProxyPreservehost on\n+ServerName  your.server.name\n+ServerAlias www.your.server.name                # optional\n+ProxyPass /matrix http://127.0.0.1:8008         # do not add a slash after the port number\n+ProxyPassReverse /matrix http://127.0.0.1:8008  # do not add a slash after the port number\n+```\n+\n+And reload apache.\n+\n+You can now configure vector like this:\n+\n+1. default_hs_url: http://your.server.name/matrix,\n+2. default_is_url: could be empty\n+\n+Guest connection\n+================\n+\n+If you want to allow users to be connected anonymously, activate the option to the synapse server and restart it.\n+\n+Then, just hit the url of vector (page refresh) and you will be connected anonymously without typing anything and without going to the login page.\n+\n+If you want to allow guest users to join a room, you can go to the old matrix chat view (http://your.server.name:8008 or http://your.server.name/matrix).","path":"README.md","position":109,"original_position":109,"commit_id":"0ce9d9df484c76b611de562cf0c0c52b834cc7e2","original_commit_id":"0ce9d9df484c76b611de562cf0c0c52b834cc7e2","user":{"login":"dbkr","id":986903,"avatar_url":"https://avatars.githubusercontent.com/u/986903?v=3","gravatar_id":"","url":"https://api.github.com/users/dbkr","html_url":"https://github.com/dbkr","followers_url":"https://api.github.com/users/dbkr/followers","following_url":"https://api.github.com/users/dbkr/following{/other_user}","gists_url":"https://api.github.com/users/dbkr/gists{/gist_id}","starred_url":"https://api.github.com/users/dbkr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbkr/subscriptions","organizations_url":"https://api.github.com/users/dbkr/orgs","repos_url":"https://api.github.com/users/dbkr/repos","events_url":"https://api.github.com/users/dbkr/events{/privacy}","received_events_url":"https://api.github.com/users/dbkr/received_events","type":"User","site_admin":false},"body":"Unsure what this is saying? Also, the angular client will probably be remove from the default synapse distribution in the near future.","created_at":"2016-01-26T15:43:23Z","updated_at":"2016-01-26T15:43:23Z","html_url":"https://github.com/vector-im/vector-web/pull/790#discussion_r50851594","pull_request_url":"https://api.github.com/repos/vector-im/vector-web/pulls/790","_links":{"self":{"href":"https://api.github.com/repos/vector-im/vector-web/pulls/comments/50851594"},"html":{"href":"https://github.com/vector-im/vector-web/pull/790#discussion_r50851594"},"pull_request":{"href":"https://api.github.com/repos/vector-im/vector-web/pulls/790"}}},"pull_request":{"url":"https://api.github.com/repos/vector-im/vector-web/pulls/790","id":57220874,"html_url":"https://github.com/vector-im/vector-web/pull/790","diff_url":"https://github.com/vector-im/vector-web/pull/790.diff","patch_url":"https://github.com/vector-im/vector-web/pull/790.patch","issue_url":"https://api.github.com/repos/vector-im/vector-web/issues/790","number":790,"state":"open","locked":false,"title":"Improve README.md for a better understanding of installation instructions","user":{"login":"floviolleau","id":5442973,"avatar_url":"https://avatars.githubusercontent.com/u/5442973?v=3","gravatar_id":"","url":"https://api.github.com/users/floviolleau","html_url":"https://github.com/floviolleau","followers_url":"https://api.github.com/users/floviolleau/followers","following_url":"https://api.github.com/users/floviolleau/following{/other_user}","gists_url":"https://api.github.com/users/floviolleau/gists{/gist_id}","starred_url":"https://api.github.com/users/floviolleau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floviolleau/subscriptions","organizations_url":"https://api.github.com/users/floviolleau/orgs","repos_url":"https://api.github.com/users/floviolleau/repos","events_url":"https://api.github.com/users/floviolleau/events{/privacy}","received_events_url":"https://api.github.com/users/floviolleau/received_events","type":"User","site_admin":false},"body":"Signed-off-by: Florent VIOLLEAU <floviolleau@laposte.net>","created_at":"2016-01-26T14:57:00Z","updated_at":"2016-01-26T15:43:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3ce63828cec2d1b30dbcf5214135c2eea3678aa3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/vector-im/vector-web/pulls/790/commits","review_comments_url":"https://api.github.com/repos/vector-im/vector-web/pulls/790/comments","review_comment_url":"https://api.github.com/repos/vector-im/vector-web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vector-im/vector-web/issues/790/comments","statuses_url":"https://api.github.com/repos/vector-im/vector-web/statuses/0ce9d9df484c76b611de562cf0c0c52b834cc7e2","head":{"label":"floviolleau:floviolleau/documentation","ref":"floviolleau/documentation","sha":"0ce9d9df484c76b611de562cf0c0c52b834cc7e2","user":{"login":"floviolleau","id":5442973,"avatar_url":"https://avatars.githubusercontent.com/u/5442973?v=3","gravatar_id":"","url":"https://api.github.com/users/floviolleau","html_url":"https://github.com/floviolleau","followers_url":"https://api.github.com/users/floviolleau/followers","following_url":"https://api.github.com/users/floviolleau/following{/other_user}","gists_url":"https://api.github.com/users/floviolleau/gists{/gist_id}","starred_url":"https://api.github.com/users/floviolleau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floviolleau/subscriptions","organizations_url":"https://api.github.com/users/floviolleau/orgs","repos_url":"https://api.github.com/users/floviolleau/repos","events_url":"https://api.github.com/users/floviolleau/events{/privacy}","received_events_url":"https://api.github.com/users/floviolleau/received_events","type":"User","site_admin":false},"repo":{"id":50433684,"name":"vector-web","full_name":"floviolleau/vector-web","owner":{"login":"floviolleau","id":5442973,"avatar_url":"https://avatars.githubusercontent.com/u/5442973?v=3","gravatar_id":"","url":"https://api.github.com/users/floviolleau","html_url":"https://github.com/floviolleau","followers_url":"https://api.github.com/users/floviolleau/followers","following_url":"https://api.github.com/users/floviolleau/following{/other_user}","gists_url":"https://api.github.com/users/floviolleau/gists{/gist_id}","starred_url":"https://api.github.com/users/floviolleau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floviolleau/subscriptions","organizations_url":"https://api.github.com/users/floviolleau/orgs","repos_url":"https://api.github.com/users/floviolleau/repos","events_url":"https://api.github.com/users/floviolleau/events{/privacy}","received_events_url":"https://api.github.com/users/floviolleau/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/floviolleau/vector-web","description":"A glossy Matrix collaboration client for the web","fork":true,"url":"https://api.github.com/repos/floviolleau/vector-web","forks_url":"https://api.github.com/repos/floviolleau/vector-web/forks","keys_url":"https://api.github.com/repos/floviolleau/vector-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/floviolleau/vector-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/floviolleau/vector-web/teams","hooks_url":"https://api.github.com/repos/floviolleau/vector-web/hooks","issue_events_url":"https://api.github.com/repos/floviolleau/vector-web/issues/events{/number}","events_url":"https://api.github.com/repos/floviolleau/vector-web/events","assignees_url":"https://api.github.com/repos/floviolleau/vector-web/assignees{/user}","branches_url":"https://api.github.com/repos/floviolleau/vector-web/branches{/branch}","tags_url":"https://api.github.com/repos/floviolleau/vector-web/tags","blobs_url":"https://api.github.com/repos/floviolleau/vector-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/floviolleau/vector-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/floviolleau/vector-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/floviolleau/vector-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/floviolleau/vector-web/statuses/{sha}","languages_url":"https://api.github.com/repos/floviolleau/vector-web/languages","stargazers_url":"https://api.github.com/repos/floviolleau/vector-web/stargazers","contributors_url":"https://api.github.com/repos/floviolleau/vector-web/contributors","subscribers_url":"https://api.github.com/repos/floviolleau/vector-web/subscribers","subscription_url":"https://api.github.com/repos/floviolleau/vector-web/subscription","commits_url":"https://api.github.com/repos/floviolleau/vector-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/floviolleau/vector-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/floviolleau/vector-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/floviolleau/vector-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/floviolleau/vector-web/contents/{+path}","compare_url":"https://api.github.com/repos/floviolleau/vector-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/floviolleau/vector-web/merges","archive_url":"https://api.github.com/repos/floviolleau/vector-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/floviolleau/vector-web/downloads","issues_url":"https://api.github.com/repos/floviolleau/vector-web/issues{/number}","pulls_url":"https://api.github.com/repos/floviolleau/vector-web/pulls{/number}","milestones_url":"https://api.github.com/repos/floviolleau/vector-web/milestones{/number}","notifications_url":"https://api.github.com/repos/floviolleau/vector-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/floviolleau/vector-web/labels{/name}","releases_url":"https://api.github.com/repos/floviolleau/vector-web/releases{/id}","deployments_url":"https://api.github.com/repos/floviolleau/vector-web/deployments","created_at":"2016-01-26T14:24:59Z","updated_at":"2016-01-26T14:25:00Z","pushed_at":"2016-01-26T15:14:36Z","git_url":"git://github.com/floviolleau/vector-web.git","ssh_url":"git@github.com:floviolleau/vector-web.git","clone_url":"https://github.com/floviolleau/vector-web.git","svn_url":"https://github.com/floviolleau/vector-web","homepage":"http://vector.im","size":2496,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"vector-im:develop","ref":"develop","sha":"75886c4143faa0956e7f0050aa03ffdcb6969ae7","user":{"login":"vector-im","id":13446337,"avatar_url":"https://avatars.githubusercontent.com/u/13446337?v=3","gravatar_id":"","url":"https://api.github.com/users/vector-im","html_url":"https://github.com/vector-im","followers_url":"https://api.github.com/users/vector-im/followers","following_url":"https://api.github.com/users/vector-im/following{/other_user}","gists_url":"https://api.github.com/users/vector-im/gists{/gist_id}","starred_url":"https://api.github.com/users/vector-im/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vector-im/subscriptions","organizations_url":"https://api.github.com/users/vector-im/orgs","repos_url":"https://api.github.com/users/vector-im/repos","events_url":"https://api.github.com/users/vector-im/events{/privacy}","received_events_url":"https://api.github.com/users/vector-im/received_events","type":"Organization","site_admin":false},"repo":{"id":39487546,"name":"vector-web","full_name":"vector-im/vector-web","owner":{"login":"vector-im","id":13446337,"avatar_url":"https://avatars.githubusercontent.com/u/13446337?v=3","gravatar_id":"","url":"https://api.github.com/users/vector-im","html_url":"https://github.com/vector-im","followers_url":"https://api.github.com/users/vector-im/followers","following_url":"https://api.github.com/users/vector-im/following{/other_user}","gists_url":"https://api.github.com/users/vector-im/gists{/gist_id}","starred_url":"https://api.github.com/users/vector-im/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vector-im/subscriptions","organizations_url":"https://api.github.com/users/vector-im/orgs","repos_url":"https://api.github.com/users/vector-im/repos","events_url":"https://api.github.com/users/vector-im/events{/privacy}","received_events_url":"https://api.github.com/users/vector-im/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vector-im/vector-web","description":"A glossy Matrix collaboration client for the web","fork":false,"url":"https://api.github.com/repos/vector-im/vector-web","forks_url":"https://api.github.com/repos/vector-im/vector-web/forks","keys_url":"https://api.github.com/repos/vector-im/vector-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vector-im/vector-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vector-im/vector-web/teams","hooks_url":"https://api.github.com/repos/vector-im/vector-web/hooks","issue_events_url":"https://api.github.com/repos/vector-im/vector-web/issues/events{/number}","events_url":"https://api.github.com/repos/vector-im/vector-web/events","assignees_url":"https://api.github.com/repos/vector-im/vector-web/assignees{/user}","branches_url":"https://api.github.com/repos/vector-im/vector-web/branches{/branch}","tags_url":"https://api.github.com/repos/vector-im/vector-web/tags","blobs_url":"https://api.github.com/repos/vector-im/vector-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vector-im/vector-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vector-im/vector-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/vector-im/vector-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vector-im/vector-web/statuses/{sha}","languages_url":"https://api.github.com/repos/vector-im/vector-web/languages","stargazers_url":"https://api.github.com/repos/vector-im/vector-web/stargazers","contributors_url":"https://api.github.com/repos/vector-im/vector-web/contributors","subscribers_url":"https://api.github.com/repos/vector-im/vector-web/subscribers","subscription_url":"https://api.github.com/repos/vector-im/vector-web/subscription","commits_url":"https://api.github.com/repos/vector-im/vector-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/vector-im/vector-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/vector-im/vector-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/vector-im/vector-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/vector-im/vector-web/contents/{+path}","compare_url":"https://api.github.com/repos/vector-im/vector-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vector-im/vector-web/merges","archive_url":"https://api.github.com/repos/vector-im/vector-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vector-im/vector-web/downloads","issues_url":"https://api.github.com/repos/vector-im/vector-web/issues{/number}","pulls_url":"https://api.github.com/repos/vector-im/vector-web/pulls{/number}","milestones_url":"https://api.github.com/repos/vector-im/vector-web/milestones{/number}","notifications_url":"https://api.github.com/repos/vector-im/vector-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vector-im/vector-web/labels{/name}","releases_url":"https://api.github.com/repos/vector-im/vector-web/releases{/id}","deployments_url":"https://api.github.com/repos/vector-im/vector-web/deployments","created_at":"2015-07-22T05:32:15Z","updated_at":"2016-01-19T10:52:26Z","pushed_at":"2016-01-26T15:14:36Z","git_url":"git://github.com/vector-im/vector-web.git","ssh_url":"git@github.com:vector-im/vector-web.git","clone_url":"https://github.com/vector-im/vector-web.git","svn_url":"https://github.com/vector-im/vector-web","homepage":"http://vector.im","size":2969,"stargazers_count":76,"watchers_count":76,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":370,"forks":13,"open_issues":370,"watchers":76,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vector-im/vector-web/pulls/790"},"html":{"href":"https://github.com/vector-im/vector-web/pull/790"},"issue":{"href":"https://api.github.com/repos/vector-im/vector-web/issues/790"},"comments":{"href":"https://api.github.com/repos/vector-im/vector-web/issues/790/comments"},"review_comments":{"href":"https://api.github.com/repos/vector-im/vector-web/pulls/790/comments"},"review_comment":{"href":"https://api.github.com/repos/vector-im/vector-web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vector-im/vector-web/pulls/790/commits"},"statuses":{"href":"https://api.github.com/repos/vector-im/vector-web/statuses/0ce9d9df484c76b611de562cf0c0c52b834cc7e2"}}}}