You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Frederic Font edited this page Jun 18, 2018
·
2 revisions
For development purposes, we want a copy of the database which is
representative of the database but does not contain any personal
information and is smaller than the main database.
We do this by making a copy of the database, running a command
which randomly removes most of the users and their associated data
Make a dump
Configure Freesound to point to this database (local_settings.py)
Run the prune command:
python manage.py prune_database
Fix summary counts in the database (number of sounds, comments, downloads, etc)
python manage.py report_count_statuses
Anonymise personal information in the database. Use the SQL script db_anonymize from
the freesound-scripts repository