Aktualisieren README.md
This commit is contained in:
@@ -19,14 +19,15 @@ lessc src_less/main.less build/main.css
|
|||||||
mv public build
|
mv public build
|
||||||
```
|
```
|
||||||
### Latest Artifact
|
### Latest Artifact
|
||||||
|
witout building - just download and put into webfolder.
|
||||||
https://gitlab.thee.moe/theenoro/random-user/-/jobs/artifacts/master/download?job=pages
|
https://gitlab.thee.moe/theenoro/random-user/-/jobs/artifacts/master/download?job=pages
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
### Get it running
|
### 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.
|
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
|
### Create new Classes / Usergroups w/o rescan.php
|
||||||
1. create in `build/data/class` a new folder for a new group of users
|
1. create in `public/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
|
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
|
3. create in your new folder a file with the name 'user.json' and a structure like
|
||||||
```json
|
```json
|
||||||
{"user":[
|
{"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
|
### Create new Classes / Usergroups w/ rescan.php
|
||||||
1. create in `build/data/class` a new folder for a new group of users
|
1. create in `public/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
|
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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user