Skip to content

Commit 638e18c

Browse files
fix: updated dotnet install command and version
1 parent c7392fe commit 638e18c

File tree

2 files changed

+15
-75
lines changed

2 files changed

+15
-75
lines changed

docs/quick-start/developers/_setup.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@ softwareupdate --install-rosetta
2020
- [Install dotnet 8.0.x SDK](https://dotnet.microsoft.com/en-us/download/dotnet/8.0)
2121
- Install aelf contract templates
2222

23-
<Tabs>
23+
```bash title="Terminal"
24+
dotnet new install AElf.ContractTemplates
25+
```
26+
27+
<!-- <Tabs>
2428
<TabItem value="Linux and macOs" label="Linux and macOs" default>
2529
```bash title="Terminal"
2630
dotnet new --install AElf.ContractTemplates
@@ -32,7 +36,7 @@ dotnet new --install AElf.ContractTemplates
3236
dotnet new install AElf.ContractTemplates
3337
```
3438
</TabItem>
35-
</Tabs>
39+
</Tabs> -->
3640

3741
AELF.ContractTemplates contains various predefined templates for the ease of developing smart contracts on the aelf blockchain.
3842

@@ -72,6 +76,13 @@ npm i -g aelf-command
7276

7377
aelf-command is a CLI tool for interacting with the aelf blockchain, enabling tasks like creating wallets and managing transactions.
7478
Provide required permissions while installing aelf-command globally.
79+
80+
**Install Git**
81+
82+
- [Install Git](https://git-scm.com/downloads)
83+
84+
As we will be using a ready made project, we will require git to clone from the project.
85+
7586
</TabItem>
7687

7788
<TabItem value="codespaces" label="Codespaces">

docs/quick-start/developers/dao-dapp/index.md

Lines changed: 2 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -15,80 +15,9 @@ practices, and efficient data management in smart contracts.
1515

1616
## Step 1 - Setting up your development environment
1717

18-
import Tabs from '@theme/Tabs';
19-
import TabItem from '@theme/TabItem';
18+
import Setup from "../_setup.md"
2019

21-
<Tabs>
22-
<TabItem value="local" label="Local" default>
23-
24-
- Basic knowledge of terminal commands
25-
- **IDE** - Install [VS Code](https://code.visualstudio.com/)
26-
27-
**Install Required Packages**
28-
29-
- [Install dotnet 6.0 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/6.0)
30-
- Install aelf contract templates
31-
32-
```bash title="Terminal"
33-
dotnet new --install AElf.ContractTemplates
34-
```
35-
36-
AELF.ContractTemplates contains various predefined templates for the ease of developing smart contracts on the aelf blockchain.
37-
38-
- Install aelf deploy tool
39-
40-
```bash title="Terminal"
41-
dotnet tool install --global aelf.deploy
42-
```
43-
44-
aelf.deploy is a utility tool for deploying smart contracts on the aelf blockchain.
45-
Please remember to export PATH after installing aelf.deploy.
46-
47-
**Install Node.js and Yarn**
48-
49-
- [Install Node.js](https://nodejs.org/en)
50-
- [Install Yarn](https://classic.yarnpkg.com/lang/en/docs/install)
51-
52-
**Install aelf-command**
53-
54-
<Tabs>
55-
<TabItem value="Linux and macOs" label="Linux and macOs" default>
56-
```bash title="Terminal"
57-
sudo npm i -g aelf-command
58-
```
59-
</TabItem>
60-
61-
<TabItem value="Windows" label="Windows">
62-
```bash title="Command Prompt"
63-
npm i -g aelf-command
64-
```
65-
</TabItem>
66-
</Tabs>
67-
68-
aelf-command is a CLI tool for interacting with the aelf blockchain, enabling tasks like creating wallets and managing transactions.
69-
Provide required permissions while installing aelf-command globally.
70-
71-
**Install Git**
72-
73-
- [Install Git](https://git-scm.com/downloads)
74-
75-
As we will be using a ready made project, we will require git to clone from the project.
76-
77-
</TabItem>
78-
79-
<TabItem value="codespaces" label="Codespaces">
80-
81-
1. Visit [aelf-devcontainer-template](https://github.com/AElfProject/aelf-devcontainer-template).
82-
2. Click the `Use this template` button. Choose `Create a new repository`.
83-
3. Enter a suitable repository name. Click `Create repository`.
84-
4. Within the GitHub interface of your new repository, click on `Code`.
85-
Select `Codespaces`.
86-
5. Click on the `+` sign to create a new Codespace.
87-
6. After some time, your workspace will load with the contents of the repository.
88-
You can now continue your development using GitHub Codespaces.
89-
90-
</TabItem>
91-
</Tabs>
20+
<Setup />
9221

9322
## Step 2 - Develop Smart Contract
9423

0 commit comments

Comments
 (0)