Skip to content

Commit 09d9f2a

Browse files
committed
add setup command; closes pterodactyl#27
1 parent 7670cf1 commit 09d9f2a

File tree

4 files changed

+10
-65
lines changed

4 files changed

+10
-65
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@
66
composer.lock
77

88
Homestead.yaml
9+
Vagrantfile
10+
Vagrantfile

Homestead.yaml.example

Lines changed: 0 additions & 37 deletions
This file was deleted.

Vagrantfile

Lines changed: 0 additions & 28 deletions
This file was deleted.

composer.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,14 @@
5454
],
5555
"post-update-cmd": [
5656
"php artisan optimize"
57+
],
58+
"setup": [
59+
"composer install",
60+
"php -r \"copy('.env.example', '.env');\"",
61+
"php vendor/bin/homestead make --ip=192.168.10.32",
62+
"sed -i.bak 's/homestead.app/pterodactyl.local/g' Homestead.yaml",
63+
"rm Homestead.yaml.bak",
64+
"php artisan key:generate"
5765
]
5866
},
5967
"config": {

0 commit comments

Comments
 (0)