{"action":"created","issue":{"url":"https://api.github.com/repos/coryhouse/react-slingshot/issues/218","repository_url":"https://api.github.com/repos/coryhouse/react-slingshot","labels_url":"https://api.github.com/repos/coryhouse/react-slingshot/issues/218/labels{/name}","comments_url":"https://api.github.com/repos/coryhouse/react-slingshot/issues/218/comments","events_url":"https://api.github.com/repos/coryhouse/react-slingshot/issues/218/events","html_url":"https://github.com/coryhouse/react-slingshot/issues/218","id":168898649,"number":218,"title":"Deploy to github pages","user":{"login":"nbrohee","id":3757192,"avatar_url":"https://avatars.githubusercontent.com/u/3757192?v=3","gravatar_id":"","url":"https://api.github.com/users/nbrohee","html_url":"https://github.com/nbrohee","followers_url":"https://api.github.com/users/nbrohee/followers","following_url":"https://api.github.com/users/nbrohee/following{/other_user}","gists_url":"https://api.github.com/users/nbrohee/gists{/gist_id}","starred_url":"https://api.github.com/users/nbrohee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nbrohee/subscriptions","organizations_url":"https://api.github.com/users/nbrohee/orgs","repos_url":"https://api.github.com/users/nbrohee/repos","events_url":"https://api.github.com/users/nbrohee/events{/privacy}","received_events_url":"https://api.github.com/users/nbrohee/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-02T14:24:16Z","updated_at":"2016-08-02T19:01:26Z","closed_at":"2016-08-02T19:01:25Z","body":"Rather than deploying to a cloud vendor website, I tried to deploy to github pages.\r\n[Here](https://github.com/nbrohee/react-slingshot/commit/3a42ea0da8d4645e39070212b2f9cc5a9acf9d4a) are my changes to do so with a live version accessible [here](https://nbrohee.github.io/react-slingshot/)\r\nI had to remove the publicPath in webpack.config.prod.js as github pages serves the site in a subdomain.\r\n\r\nAlmost everything works as intended except for the rooting (I think) behaving weirdly.\r\nAs you can see [here](https://nbrohee.github.io/react-slingshot/) :\r\n\r\n- the app lands on the 404 page instead of the default one\r\n- navigation replaces the subdomain instead of appending the route path to it.\r\n\r\nI know React-slingshot is meant to be served from the website root but any help would be appreciated.\r\n\r\nCould be a similar issue to #214 "},"comment":{"url":"https://api.github.com/repos/coryhouse/react-slingshot/issues/comments/237008005","html_url":"https://github.com/coryhouse/react-slingshot/issues/218#issuecomment-237008005","issue_url":"https://api.github.com/repos/coryhouse/react-slingshot/issues/218","id":237008005,"user":{"login":"nbrohee","id":3757192,"avatar_url":"https://avatars.githubusercontent.com/u/3757192?v=3","gravatar_id":"","url":"https://api.github.com/users/nbrohee","html_url":"https://github.com/nbrohee","followers_url":"https://api.github.com/users/nbrohee/followers","following_url":"https://api.github.com/users/nbrohee/following{/other_user}","gists_url":"https://api.github.com/users/nbrohee/gists{/gist_id}","starred_url":"https://api.github.com/users/nbrohee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nbrohee/subscriptions","organizations_url":"https://api.github.com/users/nbrohee/orgs","repos_url":"https://api.github.com/users/nbrohee/repos","events_url":"https://api.github.com/users/nbrohee/events{/privacy}","received_events_url":"https://api.github.com/users/nbrohee/received_events","type":"User","site_admin":false},"created_at":"2016-08-02T19:01:25Z","updated_at":"2016-08-02T19:01:25Z","body":"Thanks you for your quick answer !\r\nYour link pointed me in the right direction to [spa-github-pages](https://github.com/rafrex/spa-github-pages/) repository.\r\nEverything is explained in his [readme usage section](https://github.com/rafrex/spa-github-pages/#usage-instructions)."}}
{"actor":{"display_login":"nbrohee"}}