Skip to content

Commit 5295865

Browse files
edit devcontainer
1 parent e29c17b commit 5295865

File tree

3 files changed

+3
-24
lines changed

3 files changed

+3
-24
lines changed

.devcontainer/devcontainer.json

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -22,25 +22,5 @@
2222
"8080": {
2323
"label": "PHPMyAdmin"
2424
}
25-
},
26-
"customizations": {
27-
"vscode": {
28-
"extensions": [
29-
"atommaterial.a-file-icon-vscode",
30-
"GitHub.copilot",
31-
"GitHub.copilot-chat",
32-
"oderwat.indent-rainbow",
33-
"laravel.vscode-laravel",
34-
"open-southeners.laravel-pint",
35-
"shd101wyy.markdown-preview-enhanced",
36-
"unifiedjs.vscode-mdx",
37-
"mintlify.mintlify-snippets",
38-
"Cardinal90.multi-cursor-case-preserve",
39-
"bmewburn.vscode-intelephense-client",
40-
"fabiospampinato.vscode-todo-plus",
41-
"AntiAntiSepticeye.vscode-color-picker",
42-
"MehediDracula.php-namespace-resolver"
43-
]
44-
}
4525
}
4626
}

.devcontainer/setup.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ sed -i "s/^DB_USERNAME=.*/${new_db_username}/" .env
2424
sed -i "s/^DB_PASSWORD=.*/${new_db_password}/" .env
2525

2626
echo "--- Install dependencies ..."
27-
composer update --ignore-platform-req=ext-zip
28-
29-
echo "--- Generate the application key ..."
30-
php artisan key:generate --ansi
27+
composer update
3128

3229
echo "--- SETUP DONE ---"

app/Console/Commands/Install.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ public function handle()
3737
return;
3838
}
3939
$this->info('Memulai proses installasi');
40+
$this->info('Setting Applications key');
41+
$this->call('key:generate', ['--ansi' => true]);
4042
$this->call('migrate:fresh');
4143
$this->info('Membuat User Admin. Silakan Masukkan data Admin Sementara');
4244
$this->call('nova:user');

0 commit comments

Comments
 (0)