To get started with the installation, follow these steps:
-
Clone the repository
-
Enter to the project root
-
Install/update composer
composer install | composer update
-
Install npm
npm install
-
Set up the environment variables
cp .env.example .env
-
Set up the email configurations in .env
-
Generate an application key
php artisan key:generate
-
Configure the database
php artisan migrate
-
Configure the database
php artisan db:seed
-
Start the development server
npm run dev
-
Start the development server
php artisan serve
-
Setup the queues in .env
QUEUE_CONNECTION=database
-
Start the queue jobs
php artisan queue:work
-
Visit the application at in the browser.
To get started with the test cases, follow these steps:
-
Set up the environment variables
cp .env.example .env.testing
-
Create new database for testing and mention in .env.testing
-
Configure the database
php artisan migrate --env=testing
-
Start the tests
php artisan test