Androlax2 / signifly-test-case

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Requirements

Vite

Install vite globally (if it's not already installed) :

npm i -g vite

Installation

cp .env.example .env

If you are on Windows, copy .env.example to .env

docker run --rm \
    -u "$(id -u):$(id -g)" \
    -v $(pwd):/var/www/html \
    -w /var/www/html \
    laravelsail/php81-composer:latest \
    composer install --ignore-platform-reqs

Run the application

./vendor/bin/sail up -d
./vendor/bin/sail artisan key:generate
./vendor/bin/sail artisan storage:link
npm install
npm run build
./vendor/bin/sail artisan migrate --seed

If you have an error SQLSTATE[HY000] [2002] Connection refused, re run it (it is because the mysql container is not already up)

Development

Run linter :

./vendor/bin/sail pint

Run tests :

./vendor/bin/sail test

About


Languages

Language:PHP 87.0%Language:Blade 11.3%Language:Shell 0.9%Language:SCSS 0.4%Language:JavaScript 0.3%