Supported OS: Linux / macOS
Required Softwares:
- Bash
- Gradle: (version: 6.0+)
- Java (JDK): (version: 11+)
- Python 3.6.9
Querier Module generates encrypted SQL query according to the input plain-text query. It queries DB using generated SQL query and parse the encrypted data to get the result for the query
Please follow the following steps to set up the environment and run the experiments:
-
Create the following folder in the project directory (if not exist):
./results/
-
Initialize Docker volume for persistent DB storage and start PostgreSQL DB container
cd util./start_db_container.sh
-
Setup correct path variables according to the path where you put the project directory root:
- in
./run_exp.py:- Modify
PROJECT_DIR_PATHvariable: the absolute path to the project root folder - Modify
DB_PORTvariable: The port that will be used for PostgreSQL DB port
- Modify
- in
-
Modify the experiment parameters in
./run_exp.pyat the bottom of the file (arguments inrunexp()function) -
Run the experiment by executing:
./run_exp.py