Installation:
composer install
cp .env.example .env # Edit config
php artisan key:generate
php artisan migrate
php artisan passport:keys
yarn install
yarn productionCyberregister is open-sourced software licensed under the MIT license.
The Laravel framework is open-sourced software licensed under the MIT license.
Running the development server:
php artisan serveFrontend development:
yarn devWith live-reload:
yarn watchRun all the tests
vendor/bin/pestRun a test suite (for a list of availabe suites, see /phpunit.xml)
vendor/bin/pest --testsuite <suite_name>Run a specific test file
vendor/bin/pest tests/<optional_folders>/TestFileNameRun a specific test case
bash vendor/bin/pest --filter <test_case_name>
Generate code coverage
vendor/bin/pest --coverage-html docs/coverageThis will create the code coverage docs in docs/coverage/index.html