diff --git a/Makefile b/Makefile index e2ff1ab83d3bbeba296d38b31b40791780856b19..b6c9a0de49008375bb76e71a26ab32655cd4aa6a 100644 --- a/Makefile +++ b/Makefile @@ -9,6 +9,7 @@ help:: @echo " spell - check spelling of text" @echo " format - apply automatic formatting" @echo " test - run test suite" + @echo " recreatedb - drop and re-init the database" @echo " log - tail log file" @echo " run - start app" $(call docker_help) @@ -85,6 +86,10 @@ format:: test:: poetry run python3 -m unittest discover . +recreatedb:: + sudo -u postgres psql -f contrib/postgresql-drop-all.sql + sudo -u postgres psql -f contrib/postgresql-create-database.sql + log:: tail -f logs/AuraEngine.log