Since the devcamp 6, there have been some improvements in how Holochain behaves on Windows. So, while preparing for the devcamp 7, I want to gather howtos, tricks and overall feedback that Windows users have at this point.
Specifically, if you have a working Windows environment, please tell us:
what is your Holochain version?
what is your Windows version?
what works and what doesn’t? any specific quirks you’re having?
what are the steps you took to set up your dev environment?
I was using windows but it keeps crashing and getting slower and slower so now in ubuntu and much happier! Lol I just need to get .net working properly…
I spoke too soon, unfortunately Mono and VS Code just are not up to the task of running the OASIS API (my .net solution). It sucks they will not port VS to Linux, why is it on Mac but not Linux?! Makes no sense!
So anyway, I need to get hc working on Windows, WSL2 is not an option, it is not available on my machine, I am still trying.
I heard of a docker solution previously, where are the setup instructions for this? I STRONGLY suggest these are put on the Install Instructions as an alternative to WSL2, in case people have issues with it like I have…
Hey folks. I’ve found that Holochain doesn’t really work through Vagrant/VirtualBox or Docker – at least, not if you want to run the client (cURL, web-based GUI, or anything that talks to a running DNA instance) in the host OS (that is, Windows). That’s because by design, Holochain only listens on the localhost network interface, which is only available on the guest OS, not the host OS. I’ve tried to come up with a way to patch localhost to a public interface that’s available to the host, to no avail. That’s why I’ve retired the old Vagrant instructions completely.
So yes, I’m curious to see what people have discovered to work. Here’s what I know works well:
I got it working with WSL2 in the end… I didnt need to try docker after all.
But I need to access the the hc code from windows? How is that possible? Plus I want to use VSCode on windows to edit my hc code. I will check out the link above for that and report back…
Thanks for the feedback… yeah that is my last resort but my machine is way too slow to run windows in a VM in Linux so be good if I can find out how to get to my files from the Nix shell in windows somehow… I am sure someone on here would be able to help?
This may help some Windows users, who are using WSL2:
You can map “\wsl$” to a network drive to get access to the virtual Linux installs you have. For example to get to my HOME dir in my virtual Ubuntu it is:
\wsl$\Ubuntu-20.04\home\dellams
You can even get access to the NIX Shell folders including the holochain.love files like this:
The hash will be different depending on which version of holochain.love you have downloaded.
You can then run your nix-shell command from that folder so you can effectively work offline using the last version of holochain.love that was pulled down when you were online…