Skip to content

CyberRegister/CyberRegister

Repository files navigation

Cyberregister

Build Status CodeClimate maintainability CodeClimate test coverage Codacy grade Codacy coverage Scrutinizer Code Quality Code Coverage Build Status Code Intelligence Status StyleCI codecov CodeFactor Badges Cyberveiligheid FOSSA Status Node.js build and lint Laravel

Installation:

composer install
cp .env.example .env      # Edit config
php artisan key:generate
php artisan migrate
php artisan passport:keys
yarn install
yarn production

License

Cyberregister is open-sourced software licensed under the MIT license.

The Laravel framework is open-sourced software licensed under the MIT license.

FOSSA Status

Development

Running the development server:

php artisan serve

Frontend development:

yarn dev

With live-reload:

yarn watch

Running tests

Run all the tests

vendor/bin/pest

Run 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>/TestFileName

Run a specific test case bash vendor/bin/pest --filter <test_case_name> Generate code coverage

vendor/bin/pest --coverage-html docs/coverage

This will create the code coverage docs in docs/coverage/index.html