Skip to content

Commit

Permalink
add Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
hypsug0 committed Jun 18, 2024
1 parent 16fc249 commit 9e82167
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 9e82167

Please sign in to comment.