Small installer updates

This commit is contained in:
Lance Pioch 2024-09-27 15:33:51 -04:00
parent 476eccca53
commit 3ca77765e6
2 changed files with 5 additions and 5 deletions

View File

@ -16,11 +16,11 @@ class AdminUserStep
->label('Admin E-Mail') ->label('Admin E-Mail')
->required() ->required()
->email() ->email()
->default('admin@example.com'), ->placeholder('admin@example.com'),
TextInput::make('user.username') TextInput::make('user.username')
->label('Admin Username') ->label('Admin Username')
->required() ->required()
->default('admin'), ->placeholder('admin'),
TextInput::make('user.password') TextInput::make('user.password')
->label('Admin Password') ->label('Admin Password')
->required() ->required()

View File

@ -23,9 +23,9 @@ class EnvironmentStep
]; ];
public const QUEUE_DRIVERS = [ public const QUEUE_DRIVERS = [
'sync' => 'Sync',
'database' => 'Database', 'database' => 'Database',
'redis' => 'Redis', 'redis' => 'Redis',
'sync' => 'Synchronous',
]; ];
public const DATABASE_DRIVERS = [ public const DATABASE_DRIVERS = [
@ -76,11 +76,11 @@ class EnvironmentStep
ToggleButtons::make('env.QUEUE_CONNECTION') ToggleButtons::make('env.QUEUE_CONNECTION')
->label('Queue Driver') ->label('Queue Driver')
->hintIcon('tabler-question-mark') ->hintIcon('tabler-question-mark')
->hintIconTooltip('The driver used for handling queues. We recommend "Database".') ->hintIconTooltip('The driver used for handling queues. We recommend "Sync" or "Database".')
->required() ->required()
->inline() ->inline()
->options(self::QUEUE_DRIVERS) ->options(self::QUEUE_DRIVERS)
->default(config('queue.default', 'database')), ->default(config('queue.default', 'sync')),
ToggleButtons::make('env.DB_CONNECTION') ToggleButtons::make('env.DB_CONNECTION')
->label('Database Driver') ->label('Database Driver')
->hintIcon('tabler-question-mark') ->hintIcon('tabler-question-mark')