Supported OS: Linux / macOS
Required Softwares:
- Bash
- Gradle: (version: 6.0+)
- Java (JDK): (version: 11+)
- Docker (version: 19+)
- Python 3.6.9
- psql: PostgreSQl client program
Encrypter Module reads from the Wi-Fi data CSV files, encrypt data and ingest the data into the PostgreSQL DB. This project is implemented in Java. It stores the encrypted data in docker version of PostgreSQL DB.
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