Skip to content

loadpartner/tms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LoadPartner TMS

Deploy to DO

Open source and extensible freight brokerage TMS

Development

Standing up the development environment after cloning the repository should follow these steps:

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

Copy env file

cp .env.example .env

Up sail

sail up -d

Setup database

sail artisan migrate

Install npm modules

sail npm install

Generate APP_KEY

sail artisan key:generate

Run Vite

sail npm run dev

Running PHPStan

sail php ./vendor/bin/phpstan analyse

Running pre-commit & other dev environment checks

This will run PHPStan and generate IDE completions for any actions.

sail artisan dev:check