How I develop from multiple computers

It is not a typical need – to be able to develop the same code from multiple computers. In most cases it is easy – we have version control for this. Git pus on one mache, and pull on another. All good. Enough for web and backend development.

But there is a small number of cases, when the projects are a bit too complex for this, and involve installation of system packages, config files, ssh keys, datasets, setting env variables for different branches. It is still possible to sync both machines, but now you will probably spend an evening.

This happened to me with machine learning / data science projects. Such projects typically require lots of experimentations to train the most optimal ML model. And all of these experiments need to be reproducible. So all of the configs, settings, for each experiment should be saved in a different branch.

I found a solution of having it all in docker images, that can be committed pushed to a private registry and pulled back on another machine. Having it in docker allowed to isolate environments, try something new in a separate environment without drinking to create mess. And then I was able to move enttire environment from laptop to moverful PC. How to move, I described in this article https://medium.com/@bluxmit/how-to-develop-from-multiple-computers-cef2d9172e14

submitted by /u/Bluxmit
[link] [comments]

from Software Development – methodologies, techniques, and tools. Covering Agile, RUP, Waterfall + more! https://ift.tt/k6AcxiUFm

Leave a comment

Design a site like this with WordPress.com
Get started
search previous next tag category expand menu location phone mail time cart zoom edit close