<story><title>Show HN: Develop your Python applications easily in clean Docker environments</title><url>https://github.com/macostea/cage</url></story><parent_chain><item><author>wtvanhest</author><text>Slightly off-topic, but does anyone develop Django&amp;#x2F;Python on a windows machine, and may want to offer any general advice or tips?&lt;p&gt;I am using virtualenv, but wondering what else I should be doing to make it easier.  Previously I used cloud9 (cloud IDE) for rails development.  In both cases, I am pretty much a hobbiest, but don&amp;#x27;t mind spending some money to make things easier since I&amp;#x27;d rather spend my time doing the fun part, rather than developer ops.</text></item></parent_chain><comment><author>goodoldboys</author><text>I just switched from Mac to Windows 10, and I work on a lot of Django projects.&lt;p&gt;I use PyCharm (love jetbrains) + Vagrant and it&amp;#x27;s working great so far. I&amp;#x27;d highly recommend spending the time learning Vagrant - it can be incredibly frustrating at times (on both mac and windows), but once you get it working right it&amp;#x27;s really rewarding. Being able to re-instantiate a VM when something gets really botched is a great feeling. I don&amp;#x27;t have to worry about my host machine getting messed up, so I&amp;#x27;m free to tinker around in the VM and that speeds up my learning.&lt;p&gt;The one downside I&amp;#x27;ve encountered so far is how many different &amp;quot;terminal&amp;quot; style apps I need to run to get everything working. Currently I need powershell (as admin) for spinning up the VM, putty to SSH into it, and git bash for source control. I can probably simplify them all into powershell but for now it works.</text></comment>
<story><title>Show HN: Develop your Python applications easily in clean Docker environments</title><url>https://github.com/macostea/cage</url></story><parent_chain><item><author>wtvanhest</author><text>Slightly off-topic, but does anyone develop Django&amp;#x2F;Python on a windows machine, and may want to offer any general advice or tips?&lt;p&gt;I am using virtualenv, but wondering what else I should be doing to make it easier.  Previously I used cloud9 (cloud IDE) for rails development.  In both cases, I am pretty much a hobbiest, but don&amp;#x27;t mind spending some money to make things easier since I&amp;#x27;d rather spend my time doing the fun part, rather than developer ops.</text></item></parent_chain><comment><author>nkantar</author><text>My two second-hand cents:&lt;p&gt;At my previous company we used Vagrant for most projects, and it provided a nice abstraction layer that made things work reasonably well across all platforms (macOS, Windows, and Linux). Vagrant on Windows definitely had its challenges, though, but projects themselves ran well once that was sorted out.&lt;p&gt;I&amp;#x27;ve heard the company has since moved to Docker, in search of those same benefits but with smaller overhead (specifically in terms of time spent managing the abstraction layer), and I gather the Windows folks are happier with it than they ever were with Vagrant.&lt;p&gt;My own (macOS-only) experience with both has been mixed, but certainly not worse than just running things locally via virtualenv. Vagrant introduces a full VM into the stack and Docker seems to have a lot of stability issues (at least on macOS 10.12 Sierra), so my next plan is to try combining the two, and running Docker on a Fedora VM. I&amp;#x27;m hoping that any Docker nightmares will then at least be confined to the guest system, leaving my main machine mostly out of it, and using Docker to set up the actual project stuff may mean less Linux administration of the VM itself.</text></comment>