To change DB connection credentials you must change the values in src/Helpers/Database.php
You can set up project with:
git clone https://github.com/murattcann/freetimers-challange.git
composer install
mysql -u username -p database_name < ./freetimers.sql
If you want to set it up by shell file, you have to change the connection credentials such as database_name, username with your credentials
And run this command on terminal when you inside the project directory:
. setup.sh
If you want to run unit tests with PHPUnit run this command:
./vendor/bin/phpunit