{"action":"created","issue":{"url":"https://api.github.com/repos/erocci/erocci/issues/82","repository_url":"https://api.github.com/repos/erocci/erocci","labels_url":"https://api.github.com/repos/erocci/erocci/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/erocci/erocci/issues/82/comments","events_url":"https://api.github.com/repos/erocci/erocci/issues/82/events","html_url":"https://github.com/erocci/erocci/issues/82","id":172985598,"number":82,"title":"Integrating frontend","user":{"login":"Romathonat","id":15065884,"avatar_url":"https://avatars.githubusercontent.com/u/15065884?v=3","gravatar_id":"","url":"https://api.github.com/users/Romathonat","html_url":"https://github.com/Romathonat","followers_url":"https://api.github.com/users/Romathonat/followers","following_url":"https://api.github.com/users/Romathonat/following{/other_user}","gists_url":"https://api.github.com/users/Romathonat/gists{/gist_id}","starred_url":"https://api.github.com/users/Romathonat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Romathonat/subscriptions","organizations_url":"https://api.github.com/users/Romathonat/orgs","repos_url":"https://api.github.com/users/Romathonat/repos","events_url":"https://api.github.com/users/Romathonat/events{/privacy}","received_events_url":"https://api.github.com/users/Romathonat/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/erocci/erocci/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"jeanparpaillon","id":832572,"avatar_url":"https://avatars.githubusercontent.com/u/832572?v=3","gravatar_id":"","url":"https://api.github.com/users/jeanparpaillon","html_url":"https://github.com/jeanparpaillon","followers_url":"https://api.github.com/users/jeanparpaillon/followers","following_url":"https://api.github.com/users/jeanparpaillon/following{/other_user}","gists_url":"https://api.github.com/users/jeanparpaillon/gists{/gist_id}","starred_url":"https://api.github.com/users/jeanparpaillon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeanparpaillon/subscriptions","organizations_url":"https://api.github.com/users/jeanparpaillon/orgs","repos_url":"https://api.github.com/users/jeanparpaillon/repos","events_url":"https://api.github.com/users/jeanparpaillon/events{/privacy}","received_events_url":"https://api.github.com/users/jeanparpaillon/received_events","type":"User","site_admin":false},"assignees":[{"login":"jeanparpaillon","id":832572,"avatar_url":"https://avatars.githubusercontent.com/u/832572?v=3","gravatar_id":"","url":"https://api.github.com/users/jeanparpaillon","html_url":"https://github.com/jeanparpaillon","followers_url":"https://api.github.com/users/jeanparpaillon/followers","following_url":"https://api.github.com/users/jeanparpaillon/following{/other_user}","gists_url":"https://api.github.com/users/jeanparpaillon/gists{/gist_id}","starred_url":"https://api.github.com/users/jeanparpaillon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeanparpaillon/subscriptions","organizations_url":"https://api.github.com/users/jeanparpaillon/orgs","repos_url":"https://api.github.com/users/jeanparpaillon/repos","events_url":"https://api.github.com/users/jeanparpaillon/events{/privacy}","received_events_url":"https://api.github.com/users/jeanparpaillon/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-08-24T15:33:24Z","updated_at":"2016-08-25T12:13:41Z","closed_at":null,"body":"I tried to add OCCInterface to erocci, by putting my project into /deps/erocci_frontend, then add the same makefile as here https://github.com/erocci/erocci_frontend, then recompile the whole thing.\r\n\r\nIt does not work, going to / redirects to /_frontend but no index.html is loaded.\r\nI see that you used a previous project https://github.com/occiware/occi-js, and the front end **does not work on** http://malmo.lizenn.net:8080/_frontend/ ! Could you fix it and give some informations?   \r\nI think OCCInterface would give a great frontend to Erocci.\r\n"},"comment":{"url":"https://api.github.com/repos/erocci/erocci/issues/comments/242364549","html_url":"https://github.com/erocci/erocci/issues/82#issuecomment-242364549","issue_url":"https://api.github.com/repos/erocci/erocci/issues/82","id":242364549,"user":{"login":"Romathonat","id":15065884,"avatar_url":"https://avatars.githubusercontent.com/u/15065884?v=3","gravatar_id":"","url":"https://api.github.com/users/Romathonat","html_url":"https://github.com/Romathonat","followers_url":"https://api.github.com/users/Romathonat/followers","following_url":"https://api.github.com/users/Romathonat/following{/other_user}","gists_url":"https://api.github.com/users/Romathonat/gists{/gist_id}","starred_url":"https://api.github.com/users/Romathonat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Romathonat/subscriptions","organizations_url":"https://api.github.com/users/Romathonat/orgs","repos_url":"https://api.github.com/users/Romathonat/repos","events_url":"https://api.github.com/users/Romathonat/events{/privacy}","received_events_url":"https://api.github.com/users/Romathonat/received_events","type":"User","site_admin":false},"created_at":"2016-08-25T12:13:40Z","updated_at":"2016-08-25T12:13:40Z","body":"Ok I think I managed to do something correct. I put the steps I needed to do here, I'll see later if I can improve (maybe make a script to do that would be great)\r\n\r\n1- rm -rf deps/erocci_frontend\r\n2- git clone https://github.com/occiware/OCCInterface.git erocci_frontend\r\n3- cd deps/erocci_frontend\r\n4- npm install\r\n5- (put a makefile like this one https://github.com/erocci/erocci_frontend/blob/master/Makefile) not sure if necessary\r\n6- in src/utils.js, replace the first line by this one : \r\n``` js\r\nvar url = 'http://localhost:8080'+relativeUrl;\r\n```\r\n7 - remove this code from src/components/navbar\r\n``` jsx\r\n            <div className=\"ui item right navBarRight\">\r\n                <div className=\"ui item\">\r\n                   <select className=\"ui fluid search dropdown backendURL\" name=\"backendURL\"onChange={() => {}}>\r\n                     {options}\r\n                   </select>\r\n                   <button className=\"ui button useButton\" onClick={this.updateBackendURL}>Use</button>\r\n               </div>\r\n            </div>\r\n```\r\n8- npm run build\r\n9- replace into config/sys.config by\r\n```\r\n{erocci_listener_http, [{frontend, \"erocci_frontend\"}]}\r\n```\r\n10- should work"}}
{"actor":{"display_login":"Romathonat"}}