From 9e821672ccd4f11512bc0eaad35e7aac8b8b0b17 Mon Sep 17 00:00:00 2001 From: Fred C Date: Tue, 18 Jun 2024 10:25:13 +0200 Subject: [PATCH] add Makefile --- Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..fe36337 --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ +MANAGE = poetry run python -m manage + + +install : + poetry install + +build : + poetry build + +dumpdata : + $(MANAGE) dump_object --natural-foreign --natural-primary --query '{"type__mnemonic__in": ["action_scope", "geographic_area", "organism_status","organism_type","member_level"]}' sinp_nomenclatures.nomenclature > sinp_organisms/fixtures/nomenclatures.json + $(MANAGE) dumpdata --natural-foreign --natural-primary --indent=2 sinp_organisms.organism > sinp_organisms/fixtures/inpn_organims.json + +runserver: + $(MANAGE) runserver