Skip to content

Latest commit

 

History

History
70 lines (55 loc) · 1.47 KB

README.md

File metadata and controls

70 lines (55 loc) · 1.47 KB

LoadPartner TMS

Deploy to DO

Open source and extensible freight brokerage TMS (tms.loadpartner.io)

Get involved

🗨️ Chat with the team on Discord

📰 Subscribe to the newsletter

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