From 33bd76de696fa5afb6e131aa874d9e551a27e4c0 Mon Sep 17 00:00:00 2001 From: Maximilian Blochberger Date: Thu, 11 Mar 2021 11:25:08 +0100 Subject: [PATCH] Add export and import to README --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 4b70297..5ea9d96 100644 --- a/README.md +++ b/README.md @@ -101,6 +101,16 @@ If you want to get the BIB entry from DBLP: ./manage.py dblptex 'DBLP:conf/ease/PetersenFMM08' >> references.bib ``` +## Sharing SoKs + +```sh +# Export +./manage.py dumpdata --natural-primary --natural-foreign sok | jq --sort-keys > "$(date '+%Y-%m-%d')-sk.json" + +# Import +./manage.py loaddata 2021-03-11-sok.json +``` + ## Installation ```sh