What is the best way to ensure that my local environment on my development machine exactly matches my production environment on my DO Droplet? I’m using a LAMP stack with Ubuntu.

I’m currently using XAMPP on my local machine but running into random environment issues because it doesn’t exactly match my DO droplet setup.

Any help anyone can provide would be greatly appreciated. :)

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.

Submit an Answer
1 answer

DO uses minimal installation images so create a virtual machine in your local system using minimal, like Ubuntu Server (CLI)..

Then use rsync to sync files between your droplet and local server !!