Skip to content

Commit 334867d

Browse files
feat(docs): add compatible Node.js and Python versions to Build Your … (#71)
Co-authored-by: Le-Caignec <[email protected]> Co-authored-by: Robin Le Caignec <[email protected]>
1 parent db0ccee commit 334867d

File tree

5 files changed

+29
-72
lines changed

5 files changed

+29
-72
lines changed

src/get-started/helloWorld.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,17 @@ Before you begin, make sure you have:
102102
</div>
103103
<div class="flex items-center gap-4 text-left">
104104
<div class="flex items-center gap-1 flex-1 text-sm font-medium">
105-
📦 Node.js v20+
105+
📦 Node.js v20+ (for javascript iApps)
106106
<InfoIcon tooltip="Required runtime environment for running JavaScript code and managing project dependencies" />
107107
</div>
108108
<a target="_blank" href="https://nodejs.org/en/" class="no-underline! text-sm ml-auto hover:underline!">Download →</a>
109+
</div>
110+
<div class="flex items-center gap-4 text-left">
111+
<div class="flex items-center gap-1 flex-1 text-sm font-medium">
112+
🐍 Python 3.8+ (for Python iApps)
113+
<InfoIcon tooltip="Required runtime environment for Python-based iExec applications" />
114+
</div>
115+
<a target="_blank" href="https://www.python.org/downloads/" class="no-underline! text-sm ml-auto hover:underline!">Download →</a>
109116
</div>
110117
<div class="flex items-center gap-4 text-left">
111118
<div class="flex items-center gap-1 flex-1 text-sm font-medium">

src/get-started/helloWorld/3-buildIApp.md

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -26,29 +26,9 @@ experience.
2626

2727
## 📋 Prerequisites
2828

29-
Before getting started, make sure you have:
30-
31-
<div class="flex flex-col gap-2 my-4 pl-0">
32-
<div class="flex items-center gap-4 text-left">
33-
<div class="flex items-center gap-1 flex-1 text-sm font-medium">
34-
📦 Node.js v20+
35-
</div>
36-
<a target="_blank" href="https://nodejs.org/en/" class="no-underline! text-sm ml-auto hover:underline!">Download →</a>
37-
</div>
38-
<div class="flex items-center gap-4 text-left">
39-
<div class="flex items-center gap-1 flex-1 text-sm font-medium">
40-
🐳 Docker installed
41-
</div>
42-
<a target="_blank" href="https://docker.com/" class="no-underline! text-sm ml-auto hover:underline!">Download →</a>
43-
</div>
44-
45-
<div class="flex items-center gap-4 text-left">
46-
<div class="flex items-center gap-1 flex-1 text-sm font-medium">
47-
🐳 DockerHub Account
48-
</div>
49-
<a target="_blank" href="https://hub.docker.com/" class="no-underline! text-sm ml-auto hover:underline!">Sign Up →</a>
50-
</div>
51-
</div>
29+
Before getting started, make sure you have the required tools installed. See the
30+
[iApp Generator Getting Started guide](/references/iapp-generator/getting-started)
31+
for detailed prerequisites and installation instructions.
5232

5333
::: info
5434

src/guides/build-iapp/build-&-test.md

Lines changed: 3 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -29,53 +29,9 @@ iApp Generator handles all the low-level complexity for you.
2929

3030
## Prerequisites
3131

32-
Before getting started, make sure you have the following installed:
33-
34-
<div class="flex flex-col gap-2 my-4 pl-0">
35-
<div class="flex items-center gap-4 text-left">
36-
<div class="flex items-center gap-1 flex-1 text-sm font-medium">
37-
📦 Node.js v20+
38-
</div>
39-
<a target="_blank" href="https://nodejs.org/en/" class="no-underline! text-sm ml-auto hover:underline!">Download →</a>
40-
</div>
41-
<div class="flex items-center gap-4 text-left">
42-
<div class="flex items-center gap-1 flex-1 text-sm font-medium">
43-
🐳 Docker installed
44-
</div>
45-
<a target="_blank" href="https://docker.com/" class="no-underline! text-sm ml-auto hover:underline!">Download →</a>
46-
</div>
47-
48-
<div class="flex items-center gap-4 text-left">
49-
<div class="flex items-center gap-1 flex-1 text-sm font-medium">
50-
🐳 DockerHub Account
51-
</div>
52-
<a target="_blank" href="https://hub.docker.com/" class="no-underline! text-sm ml-auto hover:underline!">Sign Up →</a>
53-
</div>
54-
</div>
55-
56-
## Installation
57-
58-
First, install the iApp Generator CLI tool using your preferred package manager:
59-
60-
::: code-group
61-
62-
```sh [npm]
63-
npm install -g @iexec/iapp
64-
```
65-
66-
```sh [yarn]
67-
yarn global add @iexec/iapp
68-
```
69-
70-
```sh [pnpm]
71-
pnpm add -g @iexec/iapp
72-
```
73-
74-
```sh [bun]
75-
bun add -g @iexec/iapp
76-
```
77-
78-
:::
32+
Before getting started, make sure you have the required tools installed. See the
33+
[iApp Generator Getting Started guide](/references/iapp-generator/getting-started)
34+
for detailed prerequisites and installation instructions.
7935

8036
## Quick Start
8137

src/references/iapp-generator/building-your-iexec-app.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ description:
77

88
# 🧑‍🏭 Build your iApp
99

10+
::: tip 📋 Prerequisites
11+
12+
Before building your iApp, make sure you have the required tools installed. See
13+
the [Getting Started guide](/references/iapp-generator/getting-started) for
14+
detailed prerequisites and installation instructions.
15+
16+
:::
17+
1018
## 🧰 Initialize your iApp
1119

1220
The iApp (iExec App) Generator command-line tool simplifies the setup of your

src/references/iapp-generator/getting-started.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,15 @@ Before using the iApp Generator, make sure you have:
1414
<div class="flex flex-col gap-2 my-4 pl-0">
1515
<div class="flex items-center gap-4 text-left">
1616
<div class="flex items-center gap-1 flex-1 text-sm font-medium">
17-
📦 Node.js v20+
17+
📦 Node.js v20+ (for javascript iApps)
1818
</div>
1919
<a target="_blank" href="https://nodejs.org/en/" class="no-underline! text-sm ml-auto hover:underline!">Download →</a>
20+
</div>
21+
<div class="flex items-center gap-4 text-left">
22+
<div class="flex items-center gap-1 flex-1 text-sm font-medium">
23+
🐍 Python 3.8+ (for Python iApps)
24+
</div>
25+
<a target="_blank" href="https://www.python.org/downloads/" class="no-underline! text-sm ml-auto hover:underline!">Download →</a>
2026
</div>
2127
<div class="flex items-center gap-4 text-left">
2228
<div class="flex items-center gap-1 flex-1 text-sm font-medium">

0 commit comments

Comments
 (0)