Add a delay to wait for database init

This commit is contained in:
Adam Goldsmith 2020-11-24 00:19:40 -05:00
parent 948dcf0327
commit 1690ebdc91

View File

@ -5,5 +5,8 @@ git clone https://github.com/ad1217/arkhamdb-json-data
docker-compose up -d 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 doctrine:schema:create
docker-compose exec -T -w /srv/ arkhamdb php bin/console app:import:std ./arkhamdb-json-data/ docker-compose exec -T -w /srv/ arkhamdb php bin/console app:import:std ./arkhamdb-json-data/