Skip to content

sse2018-makyek-fun/makyek-portal

 
 

Repository files navigation

Deploy

  1. copy config-template.yaml to config.yaml
  2. change sensitive info. in config.yaml
  3. run the following code in terminal.
npm dep-install
npm build:ui
npm build:server
npm start

Add User

npm run cli -- DI.models.User.createUserAsync {username} {password} {student_id} {real_name} {role}

Roles can be: admin / mod / student

Reset User Password

npm run cli -- DI.models.User.setUserPasswordAsync {username} {new_password}

Update User Role

npm run cli -- DI.models.User.setUserRoleAsync {username} {new_role}

About

ReversiFun Online Judge Platform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 90.8%
  • CSS 5.3%
  • HTML 3.9%