diff --git a/README.md b/README.md index b3af6a1048c84a20e06325171fe6df34ea1b6fd4..296f72d518a18d9eb069e8b60d6a0c23bc428cbe 100644 --- a/README.md +++ b/README.md @@ -67,3 +67,13 @@ Compiled application files will be located in `frontend/dist/`. python manage.py makemigrations <module-name> (e.g. python manage.py makemigrations users) python manage.py migrate <module-name> (e.g. python manage.py migrate users) +## Database update + + export LOADING_THE_SLOWOSIEC_ONTOLOGY_HIERARCHY_DISABLED=true + export WALENTY_FILE_NAME=<new walenty file> + ./update_db.sh + +## Run tests + + export LOADING_THE_SLOWOSIEC_ONTOLOGY_HIERARCHY_DISABLED=true + python manage.py test --settings=shellvalier.settings-test