2 ms·
Did you setup a local installation to test drive plugins you want to add to your production installation ?
by johnchristopher 5y ago
Did you setup a local installation to test drive plugins you want to add to your production installation ?
- koonsolo 5y agoMost of the time I put it straight in production :D. I'm at CET time, and so if I do it in my morning, most users never find out when something would go wrong. But I do have a custom script to create staging and test environments. Custom developments happen there. It's basically copying all files and database, do a few config changes, and you have an exact copy of production that you can play with. I looked into a proper development flow for WordPress, but it's very hard. Mainly because both data and config lives in the same spot. And you always want to work against the latest production vesion, since things might have changed there. So no local setup, only multiple hosted ones. The DevOps flow could be improved, but right now it seems to work out fine. So for custom developments, my developer works on test. Then I check it and move it to staging. There I check again if the update works fine, and do the same on production. It's a pretty good flow for a 1 person project.
- mhitza 5y agoBe aware that WordPress makes it easy to breach GDPR compliance when the db is copied left and right and especially if other environments are shared with third parties (like external developers).