You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jonbeckas edited this page May 15, 2023
·
6 revisions
Frontend
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
Backend
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
}
}