Re:Things I Wish I'd Known Before Using Vagrant
by conradfr on Friday October 27, 2017 @11:46AM
(#15569522)
Jetbrains IDE has a good SSH & Vagrant support so mostly I create tools/tasks that launch through ssh (or use the built-in ssh client but that's like any console except you can stay in the IDE), same for the database tool.
Re:Things I Wish I'd Known Before Using Vagrant
by jcollin on Friday October 27, 2017 @07:52AM
(#15567497)
We don't use Vagrant, but we use VMs. The workflow is a little bit more convoluted than directly on the host, but we get the benefits of having a consistent way to create environments that are closer - if not identical - to what our customers have.
In essence, we do most of our development on Windows, but deploy our solution on Linux. For databases, our former development environment relied on Windows drivers that didn't have the same bugs than the Linux implementations. Hence, we caught these bugs much later in the development phase.
Another advantage is that we can deploy different releases of our solution simultaneously.
Of course, the cost to get there was to define a new pipeline to build artefacts that we ship on the boxes, but that was a little price to pay.
Re:Things I Wish I'd Known Before Using Vagrant
by zwischenzug on Friday October 27, 2017 @07:53AM
(#15567499)
I have automated from-scratch builds for cluster setups, eg:
https://github.com/ianmiell/shutit-openshift-cluster
https://github.com/ianmiell/shutit-chef-env
I'll be blogging about some of these soon as well
Re:Things I Wish I'd Known Before Using Vagrant
by pault on Friday October 27, 2017 @07:55AM
(#15567514)
I have never been able to find a performant way to mount host files on a VM, so I just use a headless Ubuntu running in VMware as my dev environment. File mounting in docker containers doesn't have the same speed penalty on a Linux host as it does on win/Mac. I use tmux and vim. I've been using this setup happily for years now.
I suppose I could install some more of my tools on the VM, but if you take that to its absurd conclusion, I'm just running a clone of my host on the VM.
It seems more useful, maybe, to just run databases and other services in the VM. Those are the more difficult bits to manage usually. A good programming language already has version and package management facilities.
Or perhaps am I missing something? Anyone have another workflow?