Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

Latest commit

 

History

History
46 lines (32 loc) · 840 Bytes

README.md

File metadata and controls

46 lines (32 loc) · 840 Bytes

Flappy Eagle API

tests workflow Laravel Forge Site Deployment Status

Setup

Set alias for sail

alias sail='[ -f sail ] && sh sail || sh vendor/bin/sail'

Copy the .env.example file

cp .env.example .env

Install the composer dependencies

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

Start the containers

sail up -d

Run migrations

sail artisan migrate

Run tests

sail artisan test