Skip to content

A self-hosted media server and file management system

bad setup file

aminnausin2da254e1b122
diff --git a/setup.sh b/setup.sh
index 58ec8693..bc10ed52 100644
--- a/setup.sh
+++ b/setup.sh
@@ -1,7 +1,17 @@
+#!/bin/bash
+
+# Exit immediately if a command exits with a non-zero status
+set -e
+
git pull
npm i
composer install
-php artisan migrate
+cp .env.example .env
+
php artisan key:generate
+
+npm run build
+
+echo "Setup a database connection in the .env file and then run php artisan migrate"