From 1690ebdc919e1b1f2c1164d4ea5cebe819bf354f Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Tue, 24 Nov 2020 00:19:40 -0500 Subject: [PATCH] Add a delay to wait for database init --- setup.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.sh b/setup.sh index edac3bc..9b0203f 100755 --- a/setup.sh +++ b/setup.sh @@ -5,5 +5,8 @@ git clone https://github.com/ad1217/arkhamdb-json-data docker-compose up -d +echo "waiting for a bit to allow database to start..." +sleep 5 + docker-compose exec -T -w /srv/ arkhamdb php bin/console doctrine:schema:create docker-compose exec -T -w /srv/ arkhamdb php bin/console app:import:std ./arkhamdb-json-data/