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 Sep 11, 2021
·
6 revisions
Frontend
Open the assets/config-prod.json file
Set backendUrl to your backend url
e.g.
{
"backendUrl": "https://backend.example.com"
}
Backend
Open the config.json file
Exmple Configuration
{
"database": {
"host": "localhost",
"port": 3306,
"username": "root",
"password": "password",
"database": "checkline"
},
"jwtSecret": "fuckthispassword", //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"
]
},
"admin": { // default user that is automaticly generated"username": "admin",
"firstname": "firstname",
"name": "name"
},
"adminGroup": {
"name": "AdminGroup"// name for the default grgoup with the CENGIN_ADMIN permission
}
}