Open source and extensible freight brokerage TMS
Standing up the development environment after cloning the repository should follow these steps:
Setup Laravel Sail
docker run --rm \
-u "$(id -u):$(id -g)" \
-v "$(pwd):/var/www/html" \
-w /var/www/html \
laravelsail/php84-composer:latest \
composer install --ignore-platform-reqs
Can't find sail
in your path? Add to your bashrc/zshrc
export PATH=./vendor/bin:$PATH
cp .env.example .env
sail up -d
sail artisan migrate
sail npm install
sail artisan key:generate
sail npm run dev
sail php ./vendor/bin/phpstan analyse
This will run PHPStan and generate IDE completions for any actions.
sail artisan dev:check