Skip to content

Commit e18391e

Browse files
committed
Commit composer lock and use config:cache for security purposes.
1 parent 4be9e30 commit e18391e

File tree

3 files changed

+5134
-22
lines changed

3 files changed

+5134
-22
lines changed

.gitignore

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
11
/vendor
22
*.DS_Store*
33
.env
4-
.vagrant/*
5-
6-
composer.lock
7-
8-
Homestead.yaml
9-
Vagrantfile
10-
Vagrantfile
11-
12-
node_modules
4+
node_modules

composer.json

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -60,27 +60,18 @@
6060
],
6161
"post-install-cmd": [
6262
"Illuminate\\Foundation\\ComposerScripts::postInstall",
63-
"php artisan optimize"
63+
"php artisan optimize",
64+
"php artisan config:cache"
6465
],
6566
"post-update-cmd": [
6667
"Illuminate\\Foundation\\ComposerScripts::postUpdate",
67-
"php artisan optimize"
68-
],
69-
"setup-dev": [
70-
"composer install",
71-
"php -r \"copy('.env.example', '.env');\"",
72-
"php vendor/bin/homestead make --ip=192.168.10.32",
73-
"sed -i.bak 's/homestead.app/pterodactyl.local/g' Homestead.yaml",
74-
"rm Homestead.yaml.bak",
75-
"php artisan key:generate"
68+
"php artisan optimize",
69+
"php artisan config:cache"
7670
],
7771
"setup": [
7872
"composer install --ansi --no-dev",
7973
"php -r \"file_exists('.env') || copy('.env.example', '.env');\"",
8074
"php artisan key:generate"
81-
],
82-
"upgrade": [
83-
"composer update --ansi --no-dev"
8475
]
8576
},
8677
"config": {

0 commit comments

Comments
 (0)