Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Developing on both Windows & Linux machines simultaneously

Sorry for the bad title (couldn't think of a better way to describe it)

I have a windows machine which I do development on. However, I have a new project which needs to interact with a linux system (executing linux commands etc.).

So, obviously I can't do development on my windows machine..and I don't wish to code on the dev machine, svn commit and then svn update it on the linux machine.

Is there a way where any changes I make on my dev machine will be quickly mirrored to the linux machine? SVN is not a very quick alternative and of course some changes will be very minor.

Any ideas? A network share I guess....but that's not very pretty (bit slow too).

As fellow developers I would like to know if you've been in a similar situation and how you've resolved it.

On a furthernote, I can't just install Ubuntu as my development machine and mirror the commands, applications etc. from the linux machine because it's a cluster 'master' machine and so therefore it has quite a special configuration.

Thanks guys!

EDIT: I've also thought about having web services on the linux machine and then just calling them from code thus seperating platform development dependency. What do you think about that too? thanks

like image 211
Flukey Avatar asked May 26 '10 12:05

Flukey


People also ask

How do I stack multiple Windows?

Another way to see and use multiple apps at once is by stacking the windows. To do this, select the “Show windows stacked” option from the taskbar, which stacks your windows one on top of the other.

Is Windows 11 good for programming?

Windows 11's use of TPM 2.0, UEFI Secure Boot, and VBS features make it more secure for developers than most operating systems out there.

Can you do Web development on Windows?

Unlike some iOS or some types of application development, the tools for web development are all operating system agnostic. You can write HTML, CSS, and JavaScript on Windows, Mac, Linux, and even ChromeOS if you're willing to get a bit creative.

Can I enable developer mode in Windows 10?

Enabling Developer Mode (including installing and operating apps other than the apps downloaded from Microsoft Store) may result in security risks to the device and personal data or damage the device. Exercise caution when enabling this mode.


3 Answers

Edit your files on the Linux machine, using Samba to expose them to Windows file-sharing.

(Alternatively via SFTP, but Windows software to mount SFTP as a filesystem isn't free.)

like image 199
bobince Avatar answered Oct 19 '22 03:10

bobince


Have you considered using an XServer on your Windows box? You should be able to fire up a desktop session on the Linux box and have it display on your Windows machine.

Depending on how Linux-savvy you are, you may be able to get away with simply using SSH to get a terminal window, then editing files with vi or emacs. If you're working with PHP, I assume that you'll be able to see the results with your regular browser. I've done this a lot, and while it's not a full-on IDE, it's certainly workable.

like image 25
TMN Avatar answered Oct 19 '22 02:10

TMN


You can developp your app in Windows and test it throug cygwin ;)

like image 22
Dimitri Avatar answered Oct 19 '22 04:10

Dimitri