add testing

This commit is contained in:
Peter Rounce 2023-07-02 07:23:58 +00:00
parent b76252d6ef
commit 105323a680
3 changed files with 40 additions and 17 deletions

6
script/s_setup_test_data Executable file
View file

@ -0,0 +1,6 @@
# to close any database connections
sudo systemctl stop postgresql
sudo systemctl start postgresql
psql postgres -f sql/data.test.sql
echo Test data added