Skip to content

Latest commit

 

History

History
57 lines (41 loc) · 850 Bytes

README.md

File metadata and controls

57 lines (41 loc) · 850 Bytes

Run Locally

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

Open another terminal tab

Make laravel configuration

  ./vendor/bin/sail artisan key:generate
  ./vendor/bin/sail artisan migrate
  ./vendor/bin/sail artisan storage:link