{"action":"created","issue":{"url":"https://api.github.com/repos/kitematic/kitematic/issues/339","labels_url":"https://api.github.com/repos/kitematic/kitematic/issues/339/labels{/name}","comments_url":"https://api.github.com/repos/kitematic/kitematic/issues/339/comments","events_url":"https://api.github.com/repos/kitematic/kitematic/issues/339/events","html_url":"https://github.com/kitematic/kitematic/pull/339","id":64767872,"number":339,"title":"Win client","user":{"login":"domderen","id":2360738,"avatar_url":"https://avatars.githubusercontent.com/u/2360738?v=3","gravatar_id":"","url":"https://api.github.com/users/domderen","html_url":"https://github.com/domderen","followers_url":"https://api.github.com/users/domderen/followers","following_url":"https://api.github.com/users/domderen/following{/other_user}","gists_url":"https://api.github.com/users/domderen/gists{/gist_id}","starred_url":"https://api.github.com/users/domderen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domderen/subscriptions","organizations_url":"https://api.github.com/users/domderen/orgs","repos_url":"https://api.github.com/users/domderen/repos","events_url":"https://api.github.com/users/domderen/events{/privacy}","received_events_url":"https://api.github.com/users/domderen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":31,"created_at":"2015-03-27T14:03:02Z","updated_at":"2015-03-31T16:33:57Z","closed_at":"2015-03-31T15:36:16Z","pull_request":{"url":"https://api.github.com/repos/kitematic/kitematic/pulls/339","html_url":"https://github.com/kitematic/kitematic/pull/339","diff_url":"https://github.com/kitematic/kitematic/pull/339.diff","patch_url":"https://github.com/kitematic/kitematic/pull/339.patch"},"body":"Some details can be found at: https://github.com/kitematic/kitematic/issues/312\r\n\r\nDONE\r\n\r\n* I recreated the deps and reset scripts for windows to install and remove external dependencies. They are written in powershell, coz my CMD skills really suck, and I am not sure if some steps could be done in CMD without at least invoking the PS commands. I was able to loose Chocolatey dependency though, which required administrator rights, so right now the whole setup can be done without admin rights.\r\n* I have removed the pre and post install scripts from package.json as this is really discuraged by the NPM docs, and instead moved them to gulpfile. This also allowed me to port those scripts for Windows platform.\r\n* I've updated the SetupStore and SetupUtil to prepare the application for windows, including the downloading and installation of VirtualBox. As mentioned before, it is done without Chocolatey, so it still might be a little shaky.\r\n* Updated the list of directories used by the app, to proper Windows paths, so the docker and docker-machine binaries are placed on the user's directory. This might not be the best place for them, but it is a start.\r\n* I noticed that docker-machine's boot2docker image, does not automatically share Users directory with the VM, so I created a workaround and invoke a VirtualBox command to do it manually during the VM initialization step in the SetupStore. This is a strange one though coz the regular boot2docker does that automatically. Maybe this is an issue to be raised in the docker-machine repo.\r\n* I've rewritten a bit parts of code responsible for opening URLs or drive paths, and added an extra dependency node package called \"open\" which supports different platforms out of the box, so opening links and paths should now work on all platforms.\r\n* Ability to open a CMD window with Docker env variables set up, and docker on the path.\r\n* Tested the application setup process on WIndows 8.1 and it works as expected.\r\n\r\nSo basically now it should be possible to clone the repo, install npm deps, download app deps using the PS script, start the application in development mode, have VirtualBox installed and VM initialized, and next it should be possible to create a new container with files shared from the windows host.\r\n\r\nAWAITS\r\n* File sharing and selecting directories in the app is flaky on windows, it still needs some magic to work properly. It works with the directory that is attached on container creation, but it is not possible yet, to change the default dir. Also the naming for the local directory in the container's settings should be changed, coz it is called \"Mac Folder\", so it is not really friendly for different platforms :)\r\n* Application deploy in gulp file, is not ready for deploying windows version. I wanted to leave it as the last piece.\r\n* Testing if any of my changes don't break any of the Mac functionality. Unfortunately I don't have access to Mac, so I am only testing the app on Windows, so I don't know if I didn't break anything.\r\n* Probably some graphical changes to the app window itself to make it more Windows like :)\r\n* Adding support for ssh terminal in ContainerSubHeader.\r\n"},"comment":{"url":"https://api.github.com/repos/kitematic/kitematic/issues/comments/88162554","html_url":"https://github.com/kitematic/kitematic/pull/339#issuecomment-88162554","issue_url":"https://api.github.com/repos/kitematic/kitematic/issues/339","id":88162554,"user":{"login":"rrarunan","id":201193,"avatar_url":"https://avatars.githubusercontent.com/u/201193?v=3","gravatar_id":"","url":"https://api.github.com/users/rrarunan","html_url":"https://github.com/rrarunan","followers_url":"https://api.github.com/users/rrarunan/followers","following_url":"https://api.github.com/users/rrarunan/following{/other_user}","gists_url":"https://api.github.com/users/rrarunan/gists{/gist_id}","starred_url":"https://api.github.com/users/rrarunan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rrarunan/subscriptions","organizations_url":"https://api.github.com/users/rrarunan/orgs","repos_url":"https://api.github.com/users/rrarunan/repos","events_url":"https://api.github.com/users/rrarunan/events{/privacy}","received_events_url":"https://api.github.com/users/rrarunan/received_events","type":"User","site_admin":false},"created_at":"2015-03-31T16:33:57Z","updated_at":"2015-03-31T16:33:57Z","body":":tada: Awesome! "}}