Clone the project
git clone https://github.com/bazylys/arixess-test-case my-folder
Go to the project directory
cd my-folder
Init env file
cp .env.example .env
Install dependecies
docker run --rm \
-v "$(pwd)":/opt \
-w /opt \
laravelsail/php81-composer:latest \
composer install
To run this project, you will need to add the following environment variables to your .env file
DB_CONNECTION=mysql
DB_HOST=mysql
DB_PORT=3306
DB_DATABASE=your_db_name
DB_USERNAME=your_db_user
DB_PASSWORD=your_db_password
Start container
./vendor/bin/sail up
Make laravel configuration
./vendor/bin/sail artisan key:generate
./vendor/bin/sail artisan migrate
./vendor/bin/sail artisan storage:link