X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mailshears.git;a=blobdiff_plain;f=bin%2Finstall-fixtures.sh;h=da052e6d2e5286747be7241085391d8afff8257e;hp=815ba61e8f0c641dc5bc2e1193c0aaf44a1d97b7;hb=4cb1eaf98b73b295921d3c494b5a4f83d5bbce08;hpb=a0987dbd47433538e1132a53af0df7502fa0289b diff --git a/bin/install-fixtures.sh b/bin/install-fixtures.sh index 815ba61..da052e6 100755 --- a/bin/install-fixtures.sh +++ b/bin/install-fixtures.sh @@ -1,5 +1,11 @@ #!/bin/sh +rm -rf /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