{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/dashboard/issues/77","labels_url":"https://api.github.com/repos/kubernetes/dashboard/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/dashboard/issues/77/comments","events_url":"https://api.github.com/repos/kubernetes/dashboard/issues/77/events","html_url":"https://github.com/kubernetes/dashboard/pull/77","id":117541709,"number":77,"title":"spawn backend in development and production mode","user":{"login":"cheld","id":7448799,"avatar_url":"https://avatars.githubusercontent.com/u/7448799?v=3","gravatar_id":"","url":"https://api.github.com/users/cheld","html_url":"https://github.com/cheld","followers_url":"https://api.github.com/users/cheld/followers","following_url":"https://api.github.com/users/cheld/following{/other_user}","gists_url":"https://api.github.com/users/cheld/gists{/gist_id}","starred_url":"https://api.github.com/users/cheld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cheld/subscriptions","organizations_url":"https://api.github.com/users/cheld/orgs","repos_url":"https://api.github.com/users/cheld/repos","events_url":"https://api.github.com/users/cheld/events{/privacy}","received_events_url":"https://api.github.com/users/cheld/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/dashboard/labels/cla:%20yes","name":"cla: yes","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-18T08:57:46Z","updated_at":"2015-11-18T14:29:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kubernetes/dashboard/pulls/77","html_url":"https://github.com/kubernetes/dashboard/pull/77","diff_url":"https://github.com/kubernetes/dashboard/pull/77.diff","patch_url":"https://github.com/kubernetes/dashboard/pull/77.patch"},"body":"I added the backend server to the gulp serve task - for development and production.\r\n\r\nThe result might be a bit confusing. Ideas and suggestions welcome!\r\n\r\nFor the implementation I assumed the following:  the developer wants to access the front-end always with the same port number, independant if it is dev or production use case. Also, this simplifies the integration tests a bit.\r\n\r\nDevelopment setup:\r\nBrowserSync (Ports 9090 & 3001  )---->  Dashboard (Port 9091) ----> Kubernetes (Port 8080)\r\n                \r\nProduction setup:\r\n Dashboard (Port 9090) ----> Kubernetes (Port 8080)\r\n\r\n\r\nRemark: I dropped the possibility to run multiple serve tasks, concurrently. However, this was not working with backend & protractor anyway. Maybe we do this as a subsequent step."},"comment":{"url":"https://api.github.com/repos/kubernetes/dashboard/issues/comments/157728675","html_url":"https://github.com/kubernetes/dashboard/pull/77#issuecomment-157728675","issue_url":"https://api.github.com/repos/kubernetes/dashboard/issues/77","id":157728675,"user":{"login":"cheld","id":7448799,"avatar_url":"https://avatars.githubusercontent.com/u/7448799?v=3","gravatar_id":"","url":"https://api.github.com/users/cheld","html_url":"https://github.com/cheld","followers_url":"https://api.github.com/users/cheld/followers","following_url":"https://api.github.com/users/cheld/following{/other_user}","gists_url":"https://api.github.com/users/cheld/gists{/gist_id}","starred_url":"https://api.github.com/users/cheld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cheld/subscriptions","organizations_url":"https://api.github.com/users/cheld/orgs","repos_url":"https://api.github.com/users/cheld/repos","events_url":"https://api.github.com/users/cheld/events{/privacy}","received_events_url":"https://api.github.com/users/cheld/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T14:29:54Z","updated_at":"2015-11-18T14:29:54Z","body":"the backend fails if no k8s cluster is running....\r\n\r\nshould I squash the commits?"}}