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