Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated running instructions for project #73

Merged
merged 6 commits into from
Jan 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,12 @@

Distribicom is a research library and should not be used in production systems.

-DUSE_PREINSTALLED_GRPC=ON -DUSE_PRECOMPILED_SEAL=ON options for precompiled main library use. Give compiled
libraries path in -D CMAKE_PREFIX_PATH Note that Distibicom relies on SEAL compiled with -DSEAL_THROW_ON_TRANSPARENT_CIPHERTEXT=OFF
Distribicom is a ```cmake``` project.
Set ```-DUSE_PREINSTALLED_GRPC=ON``` and ```-DUSE_PRECOMPILED_SEAL=ON``` to use peinstalled versions of ```SEAL``` and ```GRPC```.
Give the compiled libraries path with ```-D CMAKE_PREFIX_PATH```. Note that Distibicom relies on SEAL compiled with ```-DSEAL_THROW_ON_TRANSPARENT_CIPHERTEXT=OFF```.

1. After compilation edit [`run_scripts/test_setting.json`](https://github.com/elkanatovey/distribicom/blob/de8ed7e3588a924704fb46206149d7e7fb40e8f8/scripts/run_scripts/test_setting.json) with binary locations and crypto settings
2. Run [`run_scripts/run.py`](https://github.com/elkanatovey/distribicom/blob/de8ed7e3588a924704fb46206149d7e7fb40e8f8/scripts/run_scripts/run.py) with the location of ```test_setting.json```
3. Then run ```main_server``` with the address of the output and ```num_queries```.
4. Then run ```worker``` with the address of the output.

4 changes: 3 additions & 1 deletion scripts/README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
The scripts here are useful for faster compiling and development of the project in the aquarium
environment. For more information read the scripts
environment. Use ```deps.sh``` to preinstall dependencies. To modify install locations for dependencies read the documentation in the script.

For more information about script usages, read the scripts