Skip to content

A self-hosted media server and file management system

setup

aminnausinf2522d8a2cf2
diff --git a/.env.example b/.env.example
index 809bef9c..3550f9f7 100755
--- a/.env.example
+++ b/.env.example
@@ -4,8 +4,6 @@ APP_KEY=
APP_DEBUG=true
APP_TIMEZONE=UTC
APP_URL=https://app.test:8080
-SANCTUM_STATEFUL_DOMAINS=app.test:8080,0.0.0.0:6001,app.test:6001
-
APP_LOCALE=en
APP_FALLBACK_LOCALE=en
APP_FAKER_LOCALE=en_CA
@@ -22,6 +20,8 @@ LOG_STACK=single
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug
+DEBUGBAR_ENABLED=false
+
DB_CONNECTION=pgsql
DB_HOST=127.0.0.1
DB_PORT=5432
@@ -29,6 +29,7 @@ DB_DATABASE=mediaServer
DB_USERNAME=root
DB_PASSWORD=
+SANCTUM_STATEFUL_DOMAINS=app.test:8080,0.0.0.0:6001,app.test:6001
SESSION_DRIVER=database
SESSION_LIFETIME=120
SESSION_ENCRYPT=false
diff --git a/bootstrap/cache/packages.php b/bootstrap/cache/packages.php
index 0576bfe9..84c55e0f 100755
--- a/bootstrap/cache/packages.php
+++ b/bootstrap/cache/packages.php
@@ -138,14 +138,14 @@
),
'pbmedia/laravel-ffmpeg' =>
array (
- 'aliases' =>
- array (
- 'FFMpeg' => 'ProtoneMedia\\LaravelFFMpeg\\Support\\FFMpeg',
- ),
'providers' =>
array (
0 => 'ProtoneMedia\\LaravelFFMpeg\\Support\\ServiceProvider',
),
+ 'aliases' =>
+ array (
+ 'FFMpeg' => 'ProtoneMedia\\LaravelFFMpeg\\Support\\FFMpeg',
+ ),
),
'robertogallea/pulse-api' =>
array (
diff --git a/setup.sh b/setup.sh
index bc10ed52..4dc00cd9 100644
--- a/setup.sh
+++ b/setup.sh
@@ -14,4 +14,6 @@ php artisan key:generate
npm run build
+php artisan install:broadcasting
+
echo "Setup a database connection in the .env file and then run php artisan migrate"