-
Notifications
You must be signed in to change notification settings - Fork 495
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to get Dataverse running on a Windows computer for development #3927
Comments
As I said on the "Do you want to develop Dataverse on Windows or can you speak for someone who does?" thread I started at https://groups.google.com/d/msg/dataverse-community/Hs9j5rIxqPI/-q54751aAgAJ for now the answer is to use @akio-sone contributed some code for Windows users at https://github.com/akio-sone/windows-tools-for-dataverse_4_or_later but it looks like it hasn't been updated in a while. I'd like to know if which of the following statements best applied to Windows developers:
If a different statement applies better, that's fine. Please just let us know. |
Personally, the second statement best describes my needs. In this way, I can keep windows environment for other applications and daily work which I am very familiar with, and at the same time has a virtual linux developing and deploy environment. For the first statement, it could be a lot of work to modify the codes to fit into windows environment. For the third statement, it could be a little difficult and it seems not necessary now. |
@zhul-pku thanks. Yes I agree it would be a lot of work to get the installation process to work directly on Windows. By this I mean that the installation process assumes a Linux/Unix environment to run the Perl script which calls a number of Bash scripts. It's fine, of course, that you find Docker difficult. I passed this along at #3937 (comment) . To be honest, while I've used Docker a bit here and there, I'm much more familiar with Vagrant. But don't let me bias anyone who comes along and answers my question above! 😄 Finally, Mike Mormando had this to say at https://groups.google.com/d/msg/dataverse-community/Hs9j5rIxqPI/OZzNrQpvAgAJ
|
I bumped into @zhul-pku on Monday and it sounds like she's sticking with Windows, as opposed to switching to Mac. She's going to think about which issue she'd like to tackle while she's in town. |
@pdurbin and I spent some time today trying to use Docker with Minishift on my Windows 7 laptop today. After lengthy wrestling with at least 4 different errors, I'm comfortable saying that this process is more complicated and fiddly than it's worth for me, though others' mileage may vary. I would love to get a Dataverse dev environment running on my PC but so far I've had very little luck with Vagrant or Docker. |
what about the bash subsystem? Does that help? |
Are there any developers on Windows who would like to try a new Docker-based dev environment? I just created pull request #4168 and I would be happy for people to try it out! |
I have a Windows laptop on loan from our help desk and in 361de42 I push a new "Windows" page under the dev guide with my findings. In short,
Also, I tried to follow https://docs.microsoft.com/en-us/windows/wsl/install-win10 to install the new Windows Subsystem for Linux thing but it didn't work. As I wrote in the commit, the "Get" button for Unbuntu was greyed out. I did all this testing on Windows 10 and I'm dismayed by how when you reboot the thing is will inform you that it failed to install security updates. I don't know. At least Vagrant worked. Phew. I can make a pull request based on that commit if there is interest. Let me know. Mostly I thought I'd take a quick look at Windows since SpinachCon is on Friday and I'm planning on using #4505 to incorporate feedback. Any Windows users listening should please let us know what your expectations are for hacking on a Java app from Windows. I'm way out out my depth. At home I use Linux and at work I use a Mac. |
At standup today the consensus seemed to be that I should go ahead and make a pull request so I just did: #4531 I'll keep this issue in development in case I have time during SpinachCon to mess around with minishift/openshift on Windows. One of the BU students I'm mentoring is using Windows and I think he's had success with minishift. |
Also, clean up references to Windows in other parts of the dev guide.
I'm putting this issue into Code Review in https://waffle.io/IQSS/dataverse because I believed I've delivered some incremental progress in pull request #4531 and as far as I understand, the original reporter switched to Mac. In preparing for SpinachCon 2018 (#4505) I ran through the dev environment instructions on a fresh install of Mac and Windows. I'm feeling pretty good about the Mac and Linux writeup (pull request #4502) but Windows support is still trailing way behind. In pull request #4531 I'm suggesting Vagrant and also offering Minishift as an option. I also ask for more feedback from Windows developers on what they want or expect. It's a whole different world to me. |
@oscardssmith I couldn't get it working and mention my struggles in the pull request. |
I just listened to https://www.allthingsgit.com/episodes/dont_ignore_the_fundamentals.html where @ethomson argues pretty convincingly that rather than asking Windows developers to configure
The blog post doesn't mention what happens when you
I haven't tested a |
👋 One thing that I didn't mention in that particular blog post is that
will ensure that the |
got Dataverse working on Windows in Vagrant and Minishift #3927
No description provided.
The text was updated successfully, but these errors were encountered: