snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

Installation error!

Open votsdb opened this issue 12 years ago • 3 comments

Anyone know how to resolve this problem? I did everything just right the way Snipe instruction, but I got this error message when I do the installation comment. (php artisan app:install)

[InvalidArgumentException] Database [] not configured.

Please help. Thank you very much.

votsdb avatar Jul 03 '14 00:07 votsdb

Your database isn't configured. If you copied the config files into /app/config/local and set the DB info there, but didn't use the local flag on the app installer, it will default to production. So either re-run artisan with the local flag (per the readme) or copy the config files you edited to /app/config/production.

snipe avatar Jul 03 '14 00:07 snipe

yeah, got it now, exactly like what you just said, thank you.

votsdb avatar Jul 03 '14 01:07 votsdb

Glad you got it sorted :)

snipe avatar Jul 03 '14 01:07 snipe