{"action":"created","issue":{"url":"https://api.github.com/repos/ladybug-tools/butterfly/issues/271","repository_url":"https://api.github.com/repos/ladybug-tools/butterfly","labels_url":"https://api.github.com/repos/ladybug-tools/butterfly/issues/271/labels{/name}","comments_url":"https://api.github.com/repos/ladybug-tools/butterfly/issues/271/comments","events_url":"https://api.github.com/repos/ladybug-tools/butterfly/issues/271/events","html_url":"https://github.com/ladybug-tools/butterfly/issues/271","id":252791927,"number":271,"title":"Support Windows 10 native installation","user":{"login":"mostaphaRoudsari","id":2915573,"avatar_url":"https://avatars0.githubusercontent.com/u/2915573?v=4","gravatar_id":"","url":"https://api.github.com/users/mostaphaRoudsari","html_url":"https://github.com/mostaphaRoudsari","followers_url":"https://api.github.com/users/mostaphaRoudsari/followers","following_url":"https://api.github.com/users/mostaphaRoudsari/following{/other_user}","gists_url":"https://api.github.com/users/mostaphaRoudsari/gists{/gist_id}","starred_url":"https://api.github.com/users/mostaphaRoudsari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mostaphaRoudsari/subscriptions","organizations_url":"https://api.github.com/users/mostaphaRoudsari/orgs","repos_url":"https://api.github.com/users/mostaphaRoudsari/repos","events_url":"https://api.github.com/users/mostaphaRoudsari/events{/privacy}","received_events_url":"https://api.github.com/users/mostaphaRoudsari/received_events","type":"User","site_admin":false},"labels":[{"id":675891586,"url":"https://api.github.com/repos/ladybug-tools/butterfly/labels/best%20practice","name":"best practice","color":"c2e0c6","default":false},{"id":238737550,"url":"https://api.github.com/repos/ladybug-tools/butterfly/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"mostaphaRoudsari","id":2915573,"avatar_url":"https://avatars0.githubusercontent.com/u/2915573?v=4","gravatar_id":"","url":"https://api.github.com/users/mostaphaRoudsari","html_url":"https://github.com/mostaphaRoudsari","followers_url":"https://api.github.com/users/mostaphaRoudsari/followers","following_url":"https://api.github.com/users/mostaphaRoudsari/following{/other_user}","gists_url":"https://api.github.com/users/mostaphaRoudsari/gists{/gist_id}","starred_url":"https://api.github.com/users/mostaphaRoudsari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mostaphaRoudsari/subscriptions","organizations_url":"https://api.github.com/users/mostaphaRoudsari/orgs","repos_url":"https://api.github.com/users/mostaphaRoudsari/repos","events_url":"https://api.github.com/users/mostaphaRoudsari/events{/privacy}","received_events_url":"https://api.github.com/users/mostaphaRoudsari/received_events","type":"User","site_admin":false},"assignees":[{"login":"mostaphaRoudsari","id":2915573,"avatar_url":"https://avatars0.githubusercontent.com/u/2915573?v=4","gravatar_id":"","url":"https://api.github.com/users/mostaphaRoudsari","html_url":"https://github.com/mostaphaRoudsari","followers_url":"https://api.github.com/users/mostaphaRoudsari/followers","following_url":"https://api.github.com/users/mostaphaRoudsari/following{/other_user}","gists_url":"https://api.github.com/users/mostaphaRoudsari/gists{/gist_id}","starred_url":"https://api.github.com/users/mostaphaRoudsari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mostaphaRoudsari/subscriptions","organizations_url":"https://api.github.com/users/mostaphaRoudsari/orgs","repos_url":"https://api.github.com/users/mostaphaRoudsari/repos","events_url":"https://api.github.com/users/mostaphaRoudsari/events{/privacy}","received_events_url":"https://api.github.com/users/mostaphaRoudsari/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/ladybug-tools/butterfly/milestones/4","html_url":"https://github.com/ladybug-tools/butterfly/milestone/4","labels_url":"https://api.github.com/repos/ladybug-tools/butterfly/milestones/4/labels","id":2723447,"number":4,"title":"Butterfly 0.0.5","description":"","creator":{"login":"mostaphaRoudsari","id":2915573,"avatar_url":"https://avatars0.githubusercontent.com/u/2915573?v=4","gravatar_id":"","url":"https://api.github.com/users/mostaphaRoudsari","html_url":"https://github.com/mostaphaRoudsari","followers_url":"https://api.github.com/users/mostaphaRoudsari/followers","following_url":"https://api.github.com/users/mostaphaRoudsari/following{/other_user}","gists_url":"https://api.github.com/users/mostaphaRoudsari/gists{/gist_id}","starred_url":"https://api.github.com/users/mostaphaRoudsari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mostaphaRoudsari/subscriptions","organizations_url":"https://api.github.com/users/mostaphaRoudsari/orgs","repos_url":"https://api.github.com/users/mostaphaRoudsari/repos","events_url":"https://api.github.com/users/mostaphaRoudsari/events{/privacy}","received_events_url":"https://api.github.com/users/mostaphaRoudsari/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":0,"state":"open","created_at":"2017-08-25T14:29:00Z","updated_at":"2017-11-22T15:32:40Z","due_on":"2017-12-31T08:00:00Z","closed_at":null},"comments":4,"created_at":"2017-08-25T03:53:08Z","updated_at":"2018-02-12T18:06:06Z","closed_at":null,"author_association":"OWNER","body":"Windows 10 is [now supporting Ubuntu](https://github.com/Microsoft/BashOnWindows) natively and that gives us the option to install OpenFOAM on Windows 10 without installing docker. With all the headache of installing docker on Windows this can be a life / time saving solution for us.\r\n\r\nI tested it today and [the installation is straight forward](http://openfoam.com/download/install-windows-10.php). There is also a great video [here](https://www.youtube.com/watch?v=xj0dB_PsElg) that shows the process.\r\n\r\nOnce the installation is done one can access OpenFOAM from inside Windows using bash. Here is an example:\r\n\r\n![image](https://user-images.githubusercontent.com/2915573/29698245-25b9d19c-8922-11e7-86e7-538b211de48b.png)\r\n\r\nThe challenges are:\r\n\r\n0. It will only work on Windows 10.\r\n\r\n1. The user need to mount the shared folder manually and also everyone end up with a different folder name. We can standardize this but my experience tells me that people don't read stuff. We can however to use bash to set this up programmatically but that needs an admin privilege.\r\n\r\n2.  Every time that we run any commands from bash we need to `source` OpenFoam's `bashrc` which takes a couple of seconds to execute. This can end up making everything slow. I think there should be a way to have an instance of bash running in the background and make calls. But I'm worried that for any connection like that user would need admin privileges. Also see [this](https://stackoverflow.com/a/41229169/4394669).\r\n\r\n3. One more thing to support!\r\n\r\nThe advantages are:\r\n\r\n1. No docker installation.\r\n\r\n2. No VM installation.\r\n\r\n3. If this works fine we can also ran radiance on Ubuntu. That will open up a lot of opportunities including using parallel computation and running perl scripts.\r\n\r\nNot sure if it does make sense to support this inside Butterfly or live it to the advanced users to set it up on their own. They can us it next to current honeybee by mounting the butterfly folder."},"comment":{"url":"https://api.github.com/repos/ladybug-tools/butterfly/issues/comments/365008985","html_url":"https://github.com/ladybug-tools/butterfly/issues/271#issuecomment-365008985","issue_url":"https://api.github.com/repos/ladybug-tools/butterfly/issues/271","id":365008985,"user":{"login":"leeyuan123","id":29521335,"avatar_url":"https://avatars1.githubusercontent.com/u/29521335?v=4","gravatar_id":"","url":"https://api.github.com/users/leeyuan123","html_url":"https://github.com/leeyuan123","followers_url":"https://api.github.com/users/leeyuan123/followers","following_url":"https://api.github.com/users/leeyuan123/following{/other_user}","gists_url":"https://api.github.com/users/leeyuan123/gists{/gist_id}","starred_url":"https://api.github.com/users/leeyuan123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leeyuan123/subscriptions","organizations_url":"https://api.github.com/users/leeyuan123/orgs","repos_url":"https://api.github.com/users/leeyuan123/repos","events_url":"https://api.github.com/users/leeyuan123/events{/privacy}","received_events_url":"https://api.github.com/users/leeyuan123/received_events","type":"User","site_admin":false},"created_at":"2018-02-12T18:06:06Z","updated_at":"2018-02-12T18:06:06Z","author_association":"NONE","body":"Hi, @mostaphaRoudsari  I've got the interest with @rueckertch58521 . I've got the ubuntu OP version installed successfully and set the shared as C:\\Users\\user\\butterfly\\outdoor_airflow to run the example file. However, it seems like the butterfly is still looking for VM and Docker. Is there a way to change it?"}}
{"actor":{"display_login":"leeyuan123"}}