Skip to content
This repository was archived by the owner on Aug 5, 2024. It is now read-only.

Commit 0e34e48

Browse files
authored
Merge pull request #147 from IBM/correcting-getting-started
Correcting getting started
2 parents 0fdcdc6 + 37062f2 commit 0e34e48

File tree

7 files changed

+19
-3
lines changed

7 files changed

+19
-3
lines changed

DEPENDENCIES/ML-HElib/test_mlhelib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ mkdir -p build
3333
cd build
3434
cmake ..
3535
make
36-
./CKKS_credit_card_fraud
36+
./2-CreditCardFraudDetectionInferencing-CKKS
3737

3838
echo "ML-HElib tests done"

Documentation/Images/Step_7A_2.png

898 KB
Loading
686 KB
Loading

Documentation/Images/Step_7A_3.png

690 KB
Loading

GettingStarted.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,24 @@ Click "Build" in the CMake Tools status bar to build the selected target.
8787

8888
## Step 7: Running the HElib Example (Point and Click)
8989

90-
When the build has finished, click "Launch" in the CMake Tools status bar to launch the selected target in the terminal window. A dropdown will animate on screen with different demos to choose from to run. Select one, click enter, and it will run that program.
90+
When the build has finished, if there is nothing already selected (if this is the first time runing the toolkit, there won't be), click "Launch". It will cause a dropdown to animate on screen with the list of available demos. Select one, and it will start running that program.
91+
92+
93+
![Step seven image](/Documentation/Images/Step_7A_3.png?raw=true "no demo selected")
94+
95+
96+
97+
If something has been previously selected it's title will be displayed to the right of the "Launch" button. To change the selected demo click on the title and the dropdown will animate on screen with the list of available demos.
98+
9199

92100
![Step seven image](/Documentation/Images/Step_7A_2.png?raw=true "dropdown menu choose")
93101

102+
103+
Select one, then click "Launch", and it will run that program.
104+
105+
![Step seven image](/Documentation/Images/Step_7A_2A.png?raw=true "dropdown menu choose")
106+
107+
94108
Each demonstration application is in a self contained directory in the examples folder in the IDE. Each demo application directory contains a *README.md* that explains how to run the demo and what you should
95109
expect for results. For instance, the <a href="samples/BGV_world_country_db_lookup/README.md" target="_blank">BGV World Country Database Lookup Example Documentation</a> contains the information to run a complete example of a privacy preserving search against an encrypted database. The database is a key value store prepopulated with the english names of countries and their capital cities from around the world. Selecting the country will perform a search of the matching capital.
96110

samples/BGV_world_country_db_lookup/runtest.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ for country_capital in "${country_capitals[@]}"; do
3232
query="${country_capital%:*}"
3333

3434
echo "Looking up $query . . . "
35-
capital=$( $PWD/build/BGV_world_country_db_lookup <<< $query | awk '/Query result:/{ print $3 }' )
35+
capital=$( $PWD/build/1-PrivacyPreservingKeyValueSearch-BGV <<< $query | awk '/Query result:/{ print $3 }' )
3636

3737
echo " . . . capital is '$capital'"
3838
if [ "$capital" = "${country_capital#*:}" ]; then

samples/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
cmake_minimum_required(VERSION 3.10.2 FATAL_ERROR)
1313

14+
project(FHE-Demo-Menu VERSION 0.0.1 LANGUAGES CXX)
15+
1416
## Use -std=c++17 as default.
1517
set(CMAKE_CXX_STANDARD 17)
1618
## Disable C++ extensions

0 commit comments

Comments
 (0)