Add script to launch fixtures

This commit is contained in:
2020-05-11 01:51:30 +02:00
parent 8640d9146d
commit ecae3848ea

View File

@@ -0,0 +1,7 @@
#bin/bash
echo "Start fixtures"
cat ./*.sql > ./allSQL.sql
docker exec -i postgresql_dc-project psql dc-project dc-project -q -b -v "ON_ERROR_STOP=1" < ./allSQL.sql
rm ./allSQL.sql
echo "End fixtures"
#sleep 20