@aym
the error is saying that the database is not configured so you can check this by going to the .env file and add database configuration properly.
Note: Once database is added that then run the below command
php artisan migrate
for more reference you may check the installation process here https://devdocs.bagisto.com/