-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration
Jonbeckas edited this page May 15, 2023
·
6 revisions
- Open the
assets/config/config-prod.json
file - Set backendUrl to your backend url e.g.
{
"backendUrl": "https://backend.example.com"
}
You could customize the welcome page under assets/welcome.html
- Open the
config.json
file - Exmple Configuration (Remove the comments started with //)
{
"database": {
"host": "localhost",
"port": 3306,
"username": "root",
"password": "password",
"database": "checkline"
},
"jwtSecret": "atestpassword", //Password for jwt token, could be any secret string
"port": 8000, // backend port
"runners": {
"states": [ // all states a runner could have
"Logged in",
"Logged out",
"Injured",
"Injured logged out"
],
"stations":[ // all stations
"station1",
"station2"
],
"conspicousAfterSeconds": 30 // The seconds after which a user, is listed in the conspicous runner table
},
"admin": { // default user that is automaticly generated
"username": "admin",
"firstname": "firstname",
"name": "name"
},
"adminGroup": {
"name": "AdminGroup" // name for the default group with the CENGIN_ADMIN permission
}
}