Skip to content

twchen/find-your-favorite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository is for the demo paper:

Min Xie, Tianwen Chen and Raymond Chi-Wing Wong, "FindYourFavorite: An Interactive System for Finding the User's Favorite Tuple in the Database" the 2019 ACM Conference on Management of Data (SIGMOD)

Go to https://twchen.github.io/find-your-favorite/ for the demo.

Build Instructions

  1. Set up Emscripten SDK.

    # in libraries/
    ./setup_emsdk.sh
    source emsdk/emsdk_env.sh
  2. Compile GLPK for Emscripten

    # in libraries/
    ./make_lib.sh em++
  3. Transcompile C++ code into JavaScript code. (The core algorithm is written in C/C++ by Min Xie).

    # in the project root folder
    make web
  4. Install Yarn. Installation Guide of Yarn

  5. Install dependencies

    # in react-app/
    yarn install
  6. Run the demo

    # in react-app/
    yarn start

    The demo will be automatically opened in the browser. Follow this YouTube video to interact with the demo.

  7. Build the demo for deployment

    # in react-app/
    yarn run build

    The built webpages are placed in the react-app/build/ folder.

About

FindYourFavorite: An Interactive System for Finding the User's Favorite Tuple in the Database

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages