daerduoCarey / simple_nodejs_userstudy

Simple NodeJs Web-based User Study Interface for Researchers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple NodeJS Web-based User-study for Researchers

Overview

Dependencies

Tested on Ubuntu 16.04, NodeJs v4.2.6, NPM 6.4.1, mysql v14.14.

About this repository

This repository provides data and code as follows.

    client/                 # client side
    server/                 # server side
    data/                   # contains data
        algA/               # figures for algorithm A
        algB/               # figures for algorithm B
        algC/               # figures for algorithm C
    config.js               # [YOU NEED TO FILL IN THIS!!!]

Set up

  1. First install NodeJs, NPM, MYSQL.

  2. Intall nodejs modules

      cd client
      npm install
      bash ./build.sh
    
      cd server
      npm install
    
  3. Put your data under data

  4. Create a MYSQL table

      cd server/mysql
      mysql -u root -p < create_table.sql
    
  5. Fill in config.js

      cp config.js.template config.js
      vim config.js
      [FILL IN THE PARTS WITH UPPER LETTERS]
    
  6. Start

      cd server
      npm start
    
  7. Results will be saved to the MYSQL

      cd server/mysql
      mysql -u root -p < get_results.sql
    

License

MIT Licence

Updates

  • [May 17, 2020] Code released.

About

Simple NodeJs Web-based User Study Interface for Researchers

License:Other


Languages

Language:JavaScript 72.4%Language:HTML 22.0%Language:CSS 5.3%Language:Shell 0.2%