Steps to be done to make the code workable:
- With PHP8.1 run
composer install
- Copy
.env
file from.env.example
and fill the empty fields from the bottom ./vendor/bin/sail up -d
- Have the
queue
service working in the background. Example:sail artisan queue:work
- Run the migration:
sail artisan migrate:fresh --seed
- Run the scout script for faster model loading:
sail artisan scout:import "App\Models\NasdaqListedCompany"
- Login with the user
[email protected]
, password:password
For testing purposes, there needs to be a different database created.
Copy the .env.example
into .env.testing
and change the values accordingly
Make sure to run the migration script to fill the database first:
sail artisan migrate:fresh --seed --env=testing
To test the only classes that are needed, run the following commands:
sail artisan test --filter=Rapid
sail artisan test --filter=SearchController
The Laravel framework is open-sourced software licensed under the MIT license.