/questioning-system

A simple Questioning System

Primary LanguageJavaScriptMIT LicenseMIT

Questioning System

A questioning system for our Online Judge developed by CSY54.

Build Status MIT license Code Style

Setup

  1. Create a new table in MySQL from init.sql file.
$ mysql -u "username" -p < init.sql
  1. Modify .env.
  2. Run npm i to install the dependencies.
  3. Run npm i -g forever.

Deploy

  • Start: forever start app.js.
  • Stop: forever stop app.js.

Notices

  • If LOG_TO_FILE is enable, the access log will log into access.log file, simply run tail access.log to see it.

License

MIT