{"action":"created","issue":{"url":"https://api.github.com/repos/PolymerElements/polymer-starter-kit/issues/320","labels_url":"https://api.github.com/repos/PolymerElements/polymer-starter-kit/issues/320/labels{/name}","comments_url":"https://api.github.com/repos/PolymerElements/polymer-starter-kit/issues/320/comments","events_url":"https://api.github.com/repos/PolymerElements/polymer-starter-kit/issues/320/events","html_url":"https://github.com/PolymerElements/polymer-starter-kit/issues/320","id":102176257,"number":320,"title":"routing doesn't work on project gh-pages built from dist directory using gulp","user":{"login":"bartonhammond","id":1282364,"avatar_url":"https://avatars.githubusercontent.com/u/1282364?v=3","gravatar_id":"","url":"https://api.github.com/users/bartonhammond","html_url":"https://github.com/bartonhammond","followers_url":"https://api.github.com/users/bartonhammond/followers","following_url":"https://api.github.com/users/bartonhammond/following{/other_user}","gists_url":"https://api.github.com/users/bartonhammond/gists{/gist_id}","starred_url":"https://api.github.com/users/bartonhammond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartonhammond/subscriptions","organizations_url":"https://api.github.com/users/bartonhammond/orgs","repos_url":"https://api.github.com/users/bartonhammond/repos","events_url":"https://api.github.com/users/bartonhammond/events{/privacy}","received_events_url":"https://api.github.com/users/bartonhammond/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PolymerElements/polymer-starter-kit/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-20T16:22:04Z","updated_at":"2015-08-21T21:29:53Z","closed_at":null,"body":"Steps followed:\r\n1) mkdir foo & cd foo & yo Polymer\r\n2) git init\r\n3) remove 'dist' from .gitignore\r\n4) gulp\r\n5) git add .; git commit -m \"commit\", \r\n6) git remote add origin https://github.com/bartonhammond/foo.git\r\n7) git push -u origin master\r\n8) git subtree push --prefix dist origin gh-pages\r\n\r\nResults:\r\n0) Navigate to http://bartonhammond.github.io/foo/:\r\n1) the page.js hashbang does not display in URL\r\n2) http://bartonhammond.github.io/foo/ does NOT show the \"Welcome\" stuff - the content is empty\r\n3) clicking menu \"home\" temporarily displays \"Welcome\" stuff but then 404 as it redirects to http://bartonhammond.github.io/\r\n4) backing up and taking menu items \"users\" or \"contact\" does same behavior (flash content then 404)\r\n\r\nNot sure what I'm doing wrong."},"comment":{"url":"https://api.github.com/repos/PolymerElements/polymer-starter-kit/issues/comments/133567809","html_url":"https://github.com/PolymerElements/polymer-starter-kit/issues/320#issuecomment-133567809","issue_url":"https://api.github.com/repos/PolymerElements/polymer-starter-kit/issues/320","id":133567809,"user":{"login":"bartonhammond","id":1282364,"avatar_url":"https://avatars.githubusercontent.com/u/1282364?v=3","gravatar_id":"","url":"https://api.github.com/users/bartonhammond","html_url":"https://github.com/bartonhammond","followers_url":"https://api.github.com/users/bartonhammond/followers","following_url":"https://api.github.com/users/bartonhammond/following{/other_user}","gists_url":"https://api.github.com/users/bartonhammond/gists{/gist_id}","starred_url":"https://api.github.com/users/bartonhammond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartonhammond/subscriptions","organizations_url":"https://api.github.com/users/bartonhammond/orgs","repos_url":"https://api.github.com/users/bartonhammond/repos","events_url":"https://api.github.com/users/bartonhammond/events{/privacy}","received_events_url":"https://api.github.com/users/bartonhammond/received_events","type":"User","site_admin":false},"created_at":"2015-08-21T21:29:53Z","updated_at":"2015-08-21T21:29:53Z","body":"No errors running gulp.\r\nI run python -m SimpleHTTPServer 8000 in dist and it behaves fine.\r\nThe links above are live if you want to see it in action.\r\nThanks."}}