I’m playing around with Django on a guest Ubuntu minimalist VM (no window manager). What’s the best workflow for this? I think it would be best to be able to edit my files directly in my Windows IDE without having to SFTP or git between editing OS and server.
Is it even possible to map my home directory in the Ubuntu VM to a windows share?
edit: VMWare Player (the free version)
Depends on your VM. I know VirtualBox allows you to define “Shared Folders” which are directories on your host that are exposed to the guest. For example, I share my “F:\myproject” directory to my Ubuntu guest, where it is mounted just like any other file system (
mount -t vboxsf [share-name] [directory]).Answering your actual question though: If you want to map your actual home directory to a windows share, I suggest you look at Samba. That’ll let you expose your home directory to your network, with password protection (ie, your Ubuntu credentials).