diff --git a/README.md b/README.md index 7e70a9551c3c07f787200ab95f15ee303cad1986..1bbbfdae91f8b130330849d8774dba74291325f3 100644 --- a/README.md +++ b/README.md @@ -31,3 +31,4 @@ Afterwards, you may check your setup by executing ``Utils/check.sh`` or ``Utils/ ## Developer Notes * to regenerate translations use ````python manage.py makemessages -l de_DE --ignore venv```` * to create a data backup use ````python manage.py dumpdata --indent=2 > db.json --traceback```` +* to export all database items belonging to a certain event use ````.\Utils\json_export.sh <event_id> <export_prefix> [--prod]````. The results will be saved in ````backups/<export_prefix>.json```` diff --git a/Utils/README.md b/Utils/README.md index b601f952c96e4a8a54675da35113d9e7a485844c..d0205298d9d3495c15d8ebd5894542df86f420ff 100644 --- a/Utils/README.md +++ b/Utils/README.md @@ -7,3 +7,4 @@ All scripts should be executed from the project folder (repository root). * **setup** installation script for development setup * **update** update script for development or production (--prod) setup * **check** setup checking script for development and production (--prod) setup +* **json_export** export script for development and production (--prod) -- can be used to export all database items belonging to a given event \ No newline at end of file