mirror of
https://github.com/ledgersmb/ledgersmb-docker.git
synced 2025-04-27 18:07:11 -04:00
Use create-company-database script for test data creation
This commit is contained in:
parent
7f0a677a09
commit
65bb0d35ff
2
start.sh
2
start.sh
@ -18,7 +18,7 @@ if [[ ! -f ledgersmb.conf ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -z ${CREATE_DATABASE+x} ]; then
|
if [ ! -z ${CREATE_DATABASE+x} ]; then
|
||||||
perl tools/dbsetup.pl --company $CREATE_DATABASE \
|
perl tools/create-company-database.pl --company $CREATE_DATABASE \
|
||||||
--host $POSTGRES_HOST \
|
--host $POSTGRES_HOST \
|
||||||
--postgres_password "$POSTGRES_PASS"
|
--postgres_password "$POSTGRES_PASS"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user