create config/local.php and set your db config like the example below.
<?php
# config/local.php
return [
'db' => [
'server' => 'localhost',
'user' => 'your_username',
'password' => 'your_password',
'database' => 'your_database',
]
];