fixed class name value

This commit is contained in:
Theenoro
2019-08-17 16:01:48 +02:00
parent bcf8fc8acf
commit 771b1558b7

View File

@@ -1,8 +1,6 @@
# Random user # Random user
Online preview: http://theenoro.the-co.de/random-user/ Online preview: http://theenoro.the-co.de/random-user/
## Download ## Download
### Build yourself ### Build yourself
NodeJS: https://nodejs.org/en/ NodeJS: https://nodejs.org/en/
@@ -38,6 +36,7 @@ Just use a simple webserver, if you want to use the rescan.php then you need php
``` ```
### Create new Classes / Usergroups w/ rescan.php ### Create new Classes / Usergroups w/ rescan.php
1. create in `public/data/class` a new folder for a new group of users 1. (for the web rescan)go to public/ and run `chown -R www-data:www-data class` that the user www-data owns the folder and can write files.
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 2. create in `public/data/class` a new folder for a new group of users
3. 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