From e17135f0c39c5df45793326a41242657c1f87cd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maurice=20Preu=C3=9F=20=28envoyr=29?= Date: Thu, 27 Feb 2025 01:42:06 +0100 Subject: [PATCH] fix text formatting; add composer dev command for local development MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maurice Preuß (envoyr) --- .gitignore | 1 + README.md | 3 +++ composer.json | 4 ++++ 3 files changed, 8 insertions(+) diff --git a/.gitignore b/.gitignore index d873be5a..c3242a6d 100644 --- a/.gitignore +++ b/.gitignore @@ -24,4 +24,5 @@ templates/* !templates/index.html !templates/Froxlor/ templates/Froxlor/build/ +templates/Froxlor/hot !templates/misc/ diff --git a/README.md b/README.md index 6a61a8b8..aa9a22df 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,7 @@ Developed by experienced server administrators, this panel simplifies the effort ## Installation ### Fast install + 1. Ensure that your webserver serves /var/www/html 2. Extract froxlor into /var/www/html 3. Point your browser to http://[ip-of-webserver]/froxlor @@ -24,6 +25,7 @@ If you have chosen to do the configuration by hand during the installation, you 3. Follow the steps for your services ### Detailed installation + https://docs.froxlor.org/latest/general/installation/ ## Help @@ -49,6 +51,7 @@ May be found in [COPYING](COPYING) ## Downloads ### Tarball + https://files.froxlor.org/releases/froxlor-latest.tar.gz [MD5](https://files.froxlor.org/releases/froxlor-latest.tar.gz.md5) [SHA1](https://files.froxlor.org/releases/froxlor-latest.tar.gz.sha1) ### Debian / Ubuntu repository diff --git a/composer.json b/composer.json index 27a5b428..128db0d4 100644 --- a/composer.json +++ b/composer.json @@ -89,6 +89,10 @@ } }, "scripts": { + "dev": [ + "Composer\\Config::disableProcessTimeout", + "npx concurrently -c \"#93c5fd,#fdba74\" \"php -S 127.0.0.1:8000\" \"npm run dev\" --names=server,vite" + ], "post-install-cmd": "if [ -f ./vendor/bin/phpcs ]; then \"vendor/bin/phpcs\" --config-set installed_paths vendor/phpcompatibility/php-compatibility ; fi", "post-update-cmd" : "if [ -f ./vendor/bin/phpcs ]; then \"vendor/bin/phpcs\" --config-set installed_paths vendor/phpcompatibility/php-compatibility ; fi" }