Installation:
composer install
cp .env.example .env # Edit config
php artisan key:generate
php artisan migrate
php artisan passport:keys
yarn install
yarn production
Cyberregister 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 serve
Frontend development:
yarn dev
With live-reload:
yarn watch
Run all the tests
phpunit
Run a test suite (for a list of availabe suites, see /phpunit.xml
)
phpunit --testsuite <suite_name>
Run a specific test file
phpunit tests/<optional_folders>/TestFileName
Run a specific test case
bash phpunit --filter <test_case_name>
Generate code coverage
phpunit --coverage-html docs/coverage
This will create the code coverage docs in docs/coverage/index.html