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.
-
Set up Emscripten SDK.
# in libraries/ ./setup_emsdk.sh source emsdk/emsdk_env.sh
-
Compile GLPK for Emscripten
# in libraries/ ./make_lib.sh em++ -
Transcompile C++ code into JavaScript code. (The core algorithm is written in C/C++ by Min Xie).
# in the project root folder make web -
Install Yarn. Installation Guide of Yarn
-
Install dependencies
# in react-app/ yarn install -
Run the demo
# in react-app/ yarn startThe demo will be automatically opened in the browser. Follow this YouTube video to interact with the demo.
-
Build the demo for deployment
# in react-app/ yarn run buildThe built webpages are placed in the
react-app/build/folder.