Compare commits

..

No commits in common. "3f0ab15f56bf19846e05f0fdc824c7f60a1f44a6" and "5c80b6e474fbdf517680349e3bfc167e3ec02893" have entirely different histories.

2 changed files with 7 additions and 11 deletions

6
.env.example Executable file → Normal file
View File

@ -1,11 +1,8 @@
APP_NAME="Your SwissCar GmbH - AutoManager" APP_NAME="Your SwissCar GmbH - AutoManager"
APP_ENV=local APP_ENV=local
APP_KEY=
APP_DEBUG=true APP_DEBUG=true
APP_URL=http://automngr.test APP_URL=http://automngr.test
APP_PORT=80
USER_1_EMAIL=test@salloum.pm
USER_1_PW=abc123
LOG_CHANNEL=stack LOG_CHANNEL=stack
LOG_LEVEL=debug LOG_LEVEL=debug
@ -16,7 +13,6 @@ DB_PORT=3306
DB_DATABASE=automngr DB_DATABASE=automngr
DB_USERNAME="sail" DB_USERNAME="sail"
DB_PASSWORD="password" DB_PASSWORD="password"
FORWARD_DB_PORT=3306
BROADCAST_DRIVER=log BROADCAST_DRIVER=log
CACHE_DRIVER=file CACHE_DRIVER=file

12
database/seeders/DatabaseSeeder.php Executable file → Normal file
View File

@ -36,20 +36,20 @@ class DatabaseSeeder extends Seeder
User::factory()->create([ User::factory()->create([
'name' => 'Nadim Salloum', 'name' => 'Nadim Salloum',
'email' => env('USER_1_EMAIL', 'test@test.ch'), 'email' => env('USER_1_EMAIL'),
'password' => bcrypt(env('USER_1_PW', 'abc123')), 'password' => bcrypt(env('USER_1_PW')),
]); ]);
User::factory()->create([ User::factory()->create([
'name' => 'Mohamad Salloum', 'name' => 'Mohamad Salloum',
'email' => env('USER_2_EMAIL', 'test2@test.ch'), 'email' => env('USER_2_EMAIL'),
'password' => bcrypt(env('USER_2_PW', 'abc123')), 'password' => bcrypt(env('USER_2_PW')),
]); ]);
User::factory()->create([ User::factory()->create([
'name' => 'Nadim Salloum', 'name' => 'Nadim Salloum',
'email' => env('USER_3_EMAIL', 'test3@test.ch'), 'email' => env('USER_3_EMAIL'),
'password' => bcrypt(env('USER_3_PW', 'abc123')), 'password' => bcrypt(env('USER_3_PW')),
]); ]);
foreach ($this->getBrands() as $brandItem) { foreach ($this->getBrands() as $brandItem) {