Skip to content

Commit

Permalink
Updating README
Browse files Browse the repository at this point in the history
  • Loading branch information
antonio-leal-batista committed Oct 13, 2023
1 parent 15b5229 commit 77f6802
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@

### Summary
The LACCPass Client component allows Ministries of Health to handle the onboarding, as well as the issuance and delivery of health certificates to patients.
This section contains the steps to run the LACPass Client component, and specifies how to use the endpoints.
This section describes the steps to run the LACPass Client component, and specifies how to use the endpoints.

### Requirements
- Make sure you have up and running and instance of the LACPass Client component available at https://github.com/lacchain/IPS-national-backend
- Access to the client-helper executable script available at https://github.com/lacchain/IPS-national-backend#lacchain-setup-and-onboard-helper
- Internet access

### Verify Service availability
1. Running the lacpass-lacchain component from IPS-national-backend will expose the service at port 3010
Expand All @@ -25,14 +26,15 @@ This section contains the steps to run the LACPass Client component, and specifi

It is time to run the CLI (Client helper executable script) to setup your DID and set some keys.
1. Make sure you have verified the service availability as described in the previous section
2. Before running the CLI make sure to execute this in a linux bash terminal: ./client-helper.sh
2. Before running the CLI make sure to execute this in a linux bash terminal:
`$ ./client-helper.sh`
3. Now enter the URL of the lacpass-lacchain verified in the previous section
![](https://github.com/lacchain/LACPass-client/blob/master/docs/examples/apiURL.png)
4. The following menu is presented:

![](https://github.com/lacchain/LACPass-client/blob/master/docs/examples/CLIMainMenu.png)

5. If you don't have a PKI or don't have any signing key to attest health certificates then you can create a Self-Signed Certificate "SSC". Type that if needed and enter the required information.
- The end of this process will create a subdirectory named "certS" inside the directory you are running the script:
5. If you don't have a PKI or don't have any signing key to attest health certificates then you can create a Self-Signed Certificate (SSC). If this is the case, type 'SSC' and enter the required information.
- The end of this process will create a subdirectory named "certs" inside the directory you are running the script:
![](https://github.com/lacchain/LACPass-client/blob/master/docs/examples/certsDir.png)

* NOTE: DSC.key will be the private key used to sign Health Certificates. For that:
Expand Down
Binary file added docs/examples/apiURL.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 77f6802

Please sign in to comment.