Skip to content

Commit 5ce6b00

Browse files
committed
A few final changes prior to release
1 parent 838c8d8 commit 5ce6b00

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

.env.example

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ CACHE_DRIVER=file
1212
SESSION_DRIVER=file
1313
QUEUE_DRIVER=database
1414

15-
REDIS_HOST=localhost
16-
REDIS_PASSWORD=null
17-
REDIS_PORT=6379
18-
1915
MAIL_DRIVER=smtp
2016
MAIL_HOST=mailtrap.io
2117
MAIL_PORT=2525
@@ -27,3 +23,5 @@ MAIL_FROM=you@example.com
2723
API_PREFIX=api
2824
API_VERSION=v1
2925
API_DEBUG=false
26+
27+
APP_VERSION=0.1.0-beta

composer.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,18 @@
6767
"post-update-cmd": [
6868
"php artisan optimize"
6969
],
70-
"setup": [
70+
"setup-dev": [
7171
"composer install",
7272
"php -r \"copy('.env.example', '.env');\"",
7373
"php vendor/bin/homestead make --ip=192.168.10.32",
7474
"sed -i.bak 's/homestead.app/pterodactyl.local/g' Homestead.yaml",
7575
"rm Homestead.yaml.bak",
7676
"php artisan key:generate"
77+
],
78+
"setup": [
79+
"composer install",
80+
"php -r \"copy('.env.example', '.env');\"",
81+
"php artisan key:generate"
7782
]
7883
},
7984
"config": {

resources/views/admin/index.blade.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
</ul>
3333
<h3 class="nopad">Pterodactyl Admin Control Panel</h3><hr />
3434
<p>Welcome to the most advanced, lightweight, and user-friendly open source game server control panel.</p>
35+
<p>You are running version <code>{{ env('APP_VERSION', 'unknown') }}</code>.</p>
3536
</div>
3637
<script>
3738
$(document).ready(function () {

0 commit comments

Comments
 (0)