Local Development vs Development droplet
I am used to developing on a live server and making changes directly to the production server. <–(I know not a good idea, but that’s what i have been doing for years)
I want to change this using digital ocean.
I’m looking for advice on how to implement a good environment. Keep in mind, i’m not working with a lot of other developers and most are small apps and some client websites.
Many posts say to implement a local machine development environment > push to github > then deploy to live/production server.
I understand the local dev environment(mac), but i have about 4 different computers i work off of on any given day(laptop at home, Imac at work 1, different imac at work 2, and another imac at home incase I don’t want to use my laptop. My point is, I hate being tied to one machine, so local dev environment has never been good for me.
My thought was to create two droplets, one for dev and another for production, with github in the middle for version control.
My question is....does this make sense? Is there anyone else doing it this way or should I be using local dev on all of my machines?
Any help would be appreciated. Thanks
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×