mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2025-12-31 19:47:25 +01:00
15 lines
281 B
Bash
15 lines
281 B
Bash
#!/bin/sh
|
|
|
|
php artisan db:seed --force
|
|
|
|
# Build up array of arguments...
|
|
if [ ! -z "${IN_USER_EMAIL}" ]; then
|
|
email="--email ${IN_USER_EMAIL}"
|
|
fi
|
|
|
|
if [ ! -z "${IN_PASSWORD}" ]; then
|
|
password="--password ${IN_PASSWORD}"
|
|
fi
|
|
|
|
php artisan ninja:create-account $email $password
|