Skip to content

Commit 84b2370

Browse files
committed
feat: enhance installation instructions and update documentation links for data protection tools
1 parent 10a71ea commit 84b2370

File tree

3 files changed

+40
-8
lines changed

3 files changed

+40
-8
lines changed

src/overview/helloWorld/2-protectData.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,26 @@ simple through our developer tools.
118118
<p><strong>1. Install the Developer Tool</strong></p>
119119
<p>Run the install command:</p>
120120

121-
```sh
121+
::: code-group
122+
123+
```sh [npm]
122124
npm install @iexec/dataprotector
123125
```
124126

127+
```sh [yarn]
128+
yarn add @iexec/dataprotector
129+
```
130+
131+
```sh [pnpm]
132+
pnpm add @iexec/dataprotector
133+
```
134+
135+
```sh [bun]
136+
bun add @iexec/dataprotector
137+
```
138+
139+
:::
140+
125141
</div>
126142
<div>
127143
<p><strong>2. Import and Initialize it in your project</strong></p>

src/overview/helloWorld/3-buildIApp.md

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import InfoIcon from '../../components/InfoIcon.vue'
88

99
<div class="bg-gradient-to-r from-[#fcd15a] to-[#ffad4d] rounded-[6px] px-8 pb-4 text-gray-800 max-w-3xl mx-auto mb-6">
1010
<h2 class="text-2xl font-bold mt-0 border-none!">Time to build!</h2>
11-
<p>Let's build an iApp that can process protected data in a secure environment using the <a href="../../tools/iapp-generator" target="_blank">iExec iApp generator tool</a>. This tool helps you create, test and deploy iApps with just a few commands.</p>
11+
<p>Let's build an iApp that can process protected data in a secure environment using the <a href="../../build-iapp/iapp-generator" target="_blank">iExec iApp generator tool</a>. This tool helps you create, test and deploy iApps with just a few commands.</p>
1212
</div>
1313

1414
If you wanna explore and deep dive in the CLI. You can check the
@@ -56,33 +56,49 @@ Here are some popular use cases:
5656
Send privacy-preserving emails to registered Ethereum account holders without
5757
knowing or storing their email addresses.
5858
[Github](https://github.com/iExecBlockchainComputing/web3mail-sdk/tree/main/dapp)
59-
| [Documentation](../../tools/web3mail.md)
59+
| [Documentation](../../use-iapp/web3mail)
6060

6161
### 💬 Web3 Telegram
6262

6363
Send privacy-preserving Telegram messages without knowing or storing their
6464
Telegram handles.
6565
[Github](https://github.com/iExecBlockchainComputing/web3telegram-sdk/tree/main/dapp)
66-
| [Documentation](../../tools/web3telegram.md)
66+
| [Documentation](../../use-iapp/web3telegram)
6767

6868
### 🌐 Content Delivery
6969

7070
Transfer, sell or rent protected content to authorized users.
7171
[Github](https://github.com/iExecBlockchainComputing/dataprotector-sdk/tree/main/packages/protected-data-delivery-dapp)
72-
| [Documentation](../../tools/dataProtector/dataProtectorSharing)
72+
| [Documentation](../../manage-data/dataProtector/dataProtectorSharing)
7373

7474
<div class="bg-gradient-to-r from-fuchsia-400/10 to-fuchsia-400/5 rounded-[6px] p-6 border-l-4 border-fuchsia-700 mb-6">
75-
<p class="m-0!">These are just a few examples, the possibilities are endless. Want to explore iApp Generator? Check out our <a href="../../tools/iapp-generator" target="_blank">documentation</a> and see what you can build!</p>
75+
<p class="m-0!">These are just a few examples, the possibilities are endless. Want to explore iApp Generator? Check out our <a href="../../build-iapp/iapp-generator" target="_blank">documentation</a> and see what you can build!</p>
7676
</div>
7777

7878
## 💾 Installation (win / mac / linux)
7979

8080
First, you need to install the `iapp` package. Open your terminal and run:
8181

82-
```sh
82+
::: code-group
83+
84+
```sh [npm]
8385
npm i -g @iexec/iapp
8486
```
8587

88+
```sh [yarn]
89+
yarn global add @iexec/iapp
90+
```
91+
92+
```sh [pnpm]
93+
pnpm add -g @iexec/iapp
94+
```
95+
96+
```sh [bun]
97+
bun add -g @iexec/iapp
98+
```
99+
100+
:::
101+
86102
You can check if the installation was successful by running:
87103

88104
```sh

src/overview/helloWorld/4-manageDataAccess.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ Want to see it in action? Check out our
108108
- Track your earnings
109109

110110
For more technical details, see the
111-
[DataProtector Sharing](../../tools/dataProtector/dataProtectorSharing.html)
111+
[DataProtector Sharing](../../manage-data/dataProtector/dataProtectorSharing)
112112
documentation.
113113

114114
<div class="bg-gradient-to-r from-green-400/10 to-green-400/5 rounded-[6px] p-6 border-l-4 border-green-600 mb-6">

0 commit comments

Comments
 (0)