Setup Laravel project with one command

PHOTO EMBED

Wed Mar 31 2021 06:35:25 GMT+0000 (Coordinated Universal Time)

Saved by [deleted user] #bash

#!/bin/bash

if [ ! -f composer.json ]; then
    echo "Please make sure to run this script from the root directory of this repo."
    exit 1
fi

composer install
cp .env.example .env
php artisan key:generate
source "$(dirname "$0")/checkout_latest_docs.sh"
npm install
npm run dev
content_copyCOPY

https://github.com/laravel/laravel.com-next/blob/master/bin/setup.sh