From 5f61911a6913c3c9b2b16bdd344a3061a512bb91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gi=C3=B2=20Diani?= Date: Fri, 20 Dec 2024 15:03:22 +0100 Subject: [PATCH 1/3] More sensible default in env, more documentation how to install and run. --- dashboard/.env.example | 4 ++-- dashboard/README.md | 16 ++++++++++++---- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/dashboard/.env.example b/dashboard/.env.example index 86c143e..064b7e8 100644 --- a/dashboard/.env.example +++ b/dashboard/.env.example @@ -21,14 +21,14 @@ LOG_STACK=single LOG_DEPRECATIONS_CHANNEL=null LOG_LEVEL=debug -DB_CONNECTION=sqlite +# DB_CONNECTION=sqlite # DB_HOST=127.0.0.1 # DB_PORT=3306 # DB_DATABASE=laravel # DB_USERNAME=root # DB_PASSWORD= -SESSION_DRIVER=database +SESSION_DRIVER=file SESSION_LIFETIME=120 SESSION_ENCRYPT=false SESSION_PATH=/ diff --git a/dashboard/README.md b/dashboard/README.md index 48b752c..ae7f96c 100644 --- a/dashboard/README.md +++ b/dashboard/README.md @@ -1,8 +1,16 @@ -# How to run +# Install +## Prerequisites +- In order to run this project please install all required software according to the laravel documentation: https://laravel.com/docs/11.x#installing-php + +## Configuration & installation +- Make a copy of the .env.example to .env +- Run the following commands: +```bash +composer install && php artisan key:generate && npm i +``` + +# Run server ```bash composer run dev ``` -```bash -npm run build -``` From eb362d78adbc881c5c4fafd7586664fb5f0e53f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gi=C3=B2=20Diani?= Date: Fri, 20 Dec 2024 15:25:33 +0100 Subject: [PATCH 2/3] Vorbereitung heatmap --- dashboard/resources/views/overview.blade.php | 85 +++++++++++++++++++- 1 file changed, 82 insertions(+), 3 deletions(-) diff --git a/dashboard/resources/views/overview.blade.php b/dashboard/resources/views/overview.blade.php index 2a1196f..8f3f870 100644 --- a/dashboard/resources/views/overview.blade.php +++ b/dashboard/resources/views/overview.blade.php @@ -19,8 +19,88 @@
- +
+
+

+ Gesamtauslastung +

+
+
+