What methods would you use to securely use multiple machines to work on code in active development?
My Ideal Situation
- Sharing development code securely among multiple machines (at least two)
- Automatic synchronization (think Google docs whereby any user’s changes update all the others immediately). The reason for this is that I’d like to be able to use these computers interchangeably without having to commit / clone every time I switch. My understanding is that automatic synchronization would make it possible to switch machines seamlessly without having to commit a bunch of files each time.
- The location of the development code is such that it can be accessed by a local Rails server and rendered on
localhost:3000. - The solution works for Apple machines (both my computers are Apple).
I’m not sure if this question is a ‘reasonable’ question in terms of its specificity but it’s the best first attempt I have. Thanks!
If you are the only person working on this project, then a service like Dropbox would work and provide you with the automatic synchronisation you’re after.
However, if you’re working with someone else on this project, or you’re likely to do so in the future, then it’s worth learning the basics of Git (or some other distributed version control system). It’s probably not as hard as you expect:
Syncing with Git won’t be automatic, but it does give you a lot of flexibility.