leanderlindahl
· 5w
Hello dear friends!
I was wondering what methods people are using to have production data or a realistic sample of production data in their dev environment. Does one do a search and replace in the DB...
Thanks for replying guys, but I don't get it. Setting up an account on my local dev installl and then viewing that from a production site?
If one wants to work on the CSS and Javascript one would want to have all the code on ones local machine. One doesn't want to live code on the server.
Is no-one copying production data down to their local machine? I can see it becomes difficult over time, with lots of posts and images.
Maybe one should connect to the productioin DB and media files from localhost and also manipulate the hosts file locally to send the requests to your production domain to localhost while working. The problem is that you tend to prefer to configure the MariaDB to only be accessible via locally on the server.
This is a tough one... I can't find a reasonable setup for development environment.