X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mailshears.git;a=blobdiff_plain;f=bin%2Finstall-fixtures.sh;h=3a7ffdc7b86a44012f147413cfbeaf9e63abb85e;hp=815ba61e8f0c641dc5bc2e1193c0aaf44a1d97b7;hb=c7298aa01f95c9f6094b1bfeb05a16b20eb4de45;hpb=7f3b8d32352db4c9cd24591fd8006d27af824853 diff --git a/bin/install-fixtures.sh b/bin/install-fixtures.sh index 815ba61..3a7ffdc 100755 --- a/bin/install-fixtures.sh +++ b/bin/install-fixtures.sh @@ -1,5 +1,11 @@ #!/bin/sh +rm -r /tmp/mailshears-test +mkdir -p /tmp/mailshears-test/example.com/alice +mkdir -p /tmp/mailshears-test/example.com/booger +mkdir -p /tmp/mailshears-test/example.com/jeremy +mkdir -p /tmp/mailshears-test/example.net/adam + dropdb --if-exists -U postgres agendav createdb -U postgres agendav psql -U postgres -d agendav < test/sql/agendav.sql