-
Notifications
You must be signed in to change notification settings - Fork 463
Expand file tree
/
Copy pathsetup.sh
More file actions
24 lines (20 loc) · 1.07 KB
/
Copy pathsetup.sh
File metadata and controls
24 lines (20 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/env bash
# ---------------------------------------------------------------
# Laravel Starter – one-command project setup
# Usage: bash setup.sh [--demo] [--skip-npm]
# ---------------------------------------------------------------
set -e
echo ""
echo "╔════════════════════════════════════════════════════╗"
echo "║ ║"
echo "║ Laravel Starter – Project Setup ║"
echo "║ ║"
echo "╚════════════════════════════════════════════════════╝"
echo ""
# Install PHP dependencies
echo "→ Installing Composer dependencies..."
composer install --no-interaction --prefer-dist
# Run the interactive Artisan setup wizard (handles .env, DB, migrations, seed, npm)
echo ""
echo "→ Running setup wizard..."
php artisan starter:install "$@"