Skip to content

Latest commit

 

History

History
41 lines (24 loc) · 1.01 KB

README.md

File metadata and controls

41 lines (24 loc) · 1.01 KB

Installation Guide

Before proceeding with the installation, please make sure that Git and Docker are working smoothly on your system.

Installation Steps

First, clone the project to the desired directory using Git:

git clone https://github.com/umituz/laravel-testcase

Then navigate to the project directory:

cd laravel-testcase

Docker Setup

Build docker images

docker-compose up -d --build

Check if there are any issues with your running containers using the following command:

docker ps

If there are any issues, inspect the logs, and ensure that Docker is functioning correctly on your computer.

Database Setup and API

To interact with the Laravel container and perform database-related tasks, you can enter the container with the following command:

docker exec -it backend bash

You can reset the database and populate Redis with data using the following command. And also don't forget to execute jobs.

php artisan setup
php artisan api:tasks
php artisan queue:work