- Add Docker configuration (Dockerfile, docker-compose.yml) - Add Nginx and Supervisor configuration - Add deployment documentation (DEPLOYMENT.md) - Complete Phase 3 data migration (63 entries, 63 docs, 28 subs) - Add responsive PDF viewer component - Fix date format to American (MM/DD/YYYY) - Update typography to match v1.0 - Add admin dashboard with full CRUD operations - Configure PostgreSQL with secure password - Connect to caddy_network for reverse proxy - Ready for production deployment
25 lines
583 B
PHP
25 lines
583 B
PHP
<?php
|
|
|
|
namespace Database\Seeders;
|
|
|
|
use Illuminate\Database\Seeder;
|
|
use App\Models\AdminUser;
|
|
|
|
class AdminSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Run the database seeds.
|
|
*/
|
|
public function run(): void
|
|
{
|
|
// Create default admin user
|
|
AdminUser::create([
|
|
'username' => 'admin',
|
|
'password' => 'password', // Will be auto-hashed by AdminUser model
|
|
]);
|
|
|
|
$this->command->info('Admin user created successfully!');
|
|
$this->command->info('Username: admin');
|
|
$this->command->info('Password: password');
|
|
}
|
|
}
|