Commit 995676e9 authored by Tifenn Guillas's avatar Tifenn Guillas
Browse files

Add remove-db

parent 7ed75d1f
UID := $(shell id -u)
GID := $(shell id -g)
UID := $(id -u)
GID := $(id -g)
@echo ""
......@@ -15,6 +15,7 @@ list:
@echo " phpunit > run php unit test suite"
@echo " phpcs > run php code sniffer test suite"
@echo " init-db > generate a new metadata database (anis-v3-server containers running needed)"
@echo " remove-db > remove the metadata database"
@echo " validate-db > validate the doctrine mapping entity files (anis-v3-server containers running needed)"
@echo " add-superuser > add an Anis server superuser. Example: make password=admin add-superuser"
@echo " gen-key > generate a new encryption key that you can use to encrypt data (see anis server config file)"
......@@ -58,6 +59,9 @@ phpcs:
@docker-compose exec php sh ./conf-dev/
@docker volume rm anis-server_pgdata
@docker-compose exec php ./vendor/bin/doctrine orm:validate-schema
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment