Make sure git, Windows Subsystem for Linux, and Docker is installed before starting.
git clone [email protected]:yasirsoleh/vtms_backend.git
cd vtms_backend
docker run --rm \
-u "$(id -u):$(id -g)" \
-v $(pwd):/opt \
-w /opt \
laravelsail/php80-composer:latest \
composer install --ignore-platform-reqs
cp .env.example .env
DB_HOST=mariadb
DB_USERNAME=sail
DB_PASSWORD=password
./vendor/bin/sail up -d
./vendor/bin/sail npm install
./vendor/bin/sail npm run dev
./vendor/bin/sail artisan migrate:fresh --seed
http://localhost