Skip to content

nelsonrrj/laravel-test

Repository files navigation

Getting started

Installation

Clone the repository

git clone https://github.com/nelsonrrj/laravel-test.git

Switch to the repo folder

cd laravel-test

Install all the dependencies using composer

composer install

Copy the example env file and make the required configuration changes in the .env file

cp .env.example .env

Generate a new application key

php artisan key:generate

Make sure you set the correct database connection information before running the migrations Environment variables

php artisan migrate --seed
php artisan passport:install
php artisan serve

Running The Task Scheduler Locally

php artisan schedule:work

Running The Queue Worker

php artisan queue:work 

Unit test

Make sure you set the correct database connection information before running the tests Environment variables

Run tests

php artisan test

Environment variables

  • .env - Environment variables can be set in this file
  • .env.testing - Environment variables to test can be set in this file

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published