E-Ticaret Sistemi Kurulum Sihirbazı

Canlı sunucu ortamına geçiş ve ilk yapılandırma adımları

@php $currentStep = Session::get('installer_step', 'requirements'); $steps = [ 'requirements' => ['no' => 1, 'name' => 'Gereksinimler'], 'environment' => ['no' => 2, 'name' => 'Çevre Ayarları'], 'migrate' => ['no' => 3, 'name' => 'Tablo Kurulumu'], 'admin' => ['no' => 4, 'name' => 'Yönetici Hesabı'], 'license' => ['no' => 5, 'name' => 'Lisans Doğrulama'], 'finish' => ['no' => 6, 'name' => 'Tamamla'] ]; // Adım indeksleri $keys = array_keys($steps); $currentIndex = array_search($currentStep, $keys); @endphp
@foreach($steps as $key => $info) @php $statusClass = ''; $stepIndex = array_search($key, $keys); if ($key === $currentStep) { $statusClass = 'active'; } elseif ($stepIndex < $currentIndex) { $statusClass = 'completed'; } @endphp
{{ $info['no'] }} {{ $info['name'] }}
@endforeach
@if (session('success'))
Başarılı! {{ session('success') }}
@endif @if (session('warning'))
Uyarı! {{ session('warning') }}
@endif @if (session('error'))
Hata! {{ session('error') }}
@endif @yield('content')