- copy
config-template.yaml
toconfig.yaml
- change sensitive info. in config.yaml
- run the following code in terminal.
npm dep-install
npm build:ui
npm build:server
npm start
npm run cli -- DI.models.User.createUserAsync {username} {password} {student_id} {real_name} {role}
Roles can be: admin
/ mod
/ student
npm run cli -- DI.models.User.setUserPasswordAsync {username} {new_password}
npm run cli -- DI.models.User.setUserRoleAsync {username} {new_role}