From 6a929b51be71278a871f017d53668897c23502ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luca=20J=C3=A4ntsch?= Date: Fri, 16 Aug 2019 15:43:12 +0200 Subject: [PATCH] Aktualisieren README.md --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 1c35f89..c999f1e 100644 --- a/README.md +++ b/README.md @@ -19,14 +19,15 @@ lessc src_less/main.less build/main.css mv public build ``` ### Latest Artifact +witout building - just download and put into webfolder. https://gitlab.thee.moe/theenoro/random-user/-/jobs/artifacts/master/download?job=pages ## Usage ### Get it running Just use a simple webserver, if you want to use the rescan.php then you need php-cli or something like apache/nginx with the php module. ### Create new Classes / Usergroups w/o rescan.php -1. create in `build/data/class` a new folder for a new group of users -2. modify the `classes.json` in `build/data/class` and add in the array your ne folder name +1. create in `public/data/class` a new folder for a new group of users +2. modify the `classes.json` in `public/data/class` and add in the array your ne folder name 3. create in your new folder a file with the name 'user.json' and a structure like ```json {"user":[ @@ -37,6 +38,6 @@ Just use a simple webserver, if you want to use the rescan.php then you need php ``` ### Create new Classes / Usergroups w/ rescan.php -1. create in `build/data/class` a new folder for a new group of users -2. run in the build folder `php ./rescan.php`, it will generate the `classes.json` and all `user.json` files for you +1. create in `public/data/class` a new folder for a new group of users +2. run in the public folder `php ./rescan.php`, it will generate the `classes.json` and all `user.json` files for you. Or get on your website https://yourdoma.in/rescan.php