Re:Ask HN: How do you maintain local database for development?
by cauterized on Sunday February 19, 2017 @11:19AM
(#13680363)
There are some tools you can use to populate a local database with dummy data. Django's support for model introspection makes it especially easy. I'm on my phone and can't remember the name of the tool I last used for that, but you can probably pull something up on google.
Another common approach (if you already have a production environment) is to write a script to sanitize production data. You replace sensitive personal info with dummy data and replace all email addresses and phone numbers and the like with ones your company owns so that people don't receive communications from Dev environments. Then you just import that database, and can refresh it as needed.
Another common approach (if you already have a production environment) is to write a script to sanitize production data. You replace sensitive personal info with dummy data and replace all email addresses and phone numbers and the like with ones your company owns so that people don't receive communications from Dev environments. Then you just import that database, and can refresh it as needed.