The Open Source Transportation Management System for Freight Brokers
Laravel + Inertia.js + React
A local environment can be setup quickly using Laravel Sail and our docker configurations.
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 artisan dev:refresh
This will create test users with the following credentials:
Password | |
---|---|
[email protected] | password |
[email protected] | password |
- Ensure Mailpit is not commented out in
docker-compose.yml
- Visit http://localhost:8025 (or whatever you have specified in
docker-compose.yml FORWARD_MAILPIT_DASHBOARD_PORT
) - Update the following .env settings:
MAIL_MAILER=smtp
MAIL_HOST=mailpit
MAIL_PORT=1025 # or whatever you have specified in docker-compose.yml FORWARD_MAILPIT_PORT