Add a delay to wait for database init
This commit is contained in:
parent
948dcf0327
commit
1690ebdc91
3
setup.sh
3
setup.sh
@ -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/
|
||||||
|
Loading…
Reference in New Issue
Block a user