mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2026-01-18 20:34:03 +01:00
16 lines
360 B
Bash
Executable File
16 lines
360 B
Bash
Executable File
#!/bin/sh
|
|
|
|
php artisan db:seed --force
|
|
|
|
# Build up array of arguments...
|
|
# We escape the env variables in order to allow special characters
|
|
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
|