Skip to content

Commit

Permalink
Added github instruction in nft contract page
Browse files Browse the repository at this point in the history
  • Loading branch information
RutvikGhaskataEalf committed Aug 22, 2024
1 parent 9651dc3 commit abfea0f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 15 deletions.
5 changes: 3 additions & 2 deletions docs/quick-start/developers/dao-dapp/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,8 @@ cd aelf-samples/vote/2-dapp

- Once you're in the `2-dapp` directory, open the project with your preferred IDE (e.g., VSCode). You should see the project structure as shown below.

![result](/img/vote-fe-directory.png)
![result](/img/nft-fe-directory.jpg)


#### Install necessary libraries

Expand Down Expand Up @@ -1012,7 +1013,7 @@ npm run dev
:::info
ℹ️ Note: Ensure that you are running this command under the **2-dapp** folder.
ℹ️ Note: Ensure that you are running this command under the **vote/2-dapp** folder.
:::
Expand Down
21 changes: 8 additions & 13 deletions docs/quick-start/developers/nft-dApp/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,28 +43,23 @@ import TabItem from '@theme/TabItem';

### Project Setup

Let's start by creating a separate folder called `nft_aelf`. Move to `nft_aelf` directory using following commands.
Let's start by cloning the frontend project repository from GitHub.

```bash title="Terminal"
mkdir nft_aelf
cd nft_aelf
```

- Clone the NFT tutorial github project using the following command inside the `nft_aelf` directory:
- Run the following command your Terminal:

```bash title="Terminal"
git clone https://github.com/AElfProject/nft-tutorial.git
git clone https://github.com/AElfProject/aelf-samples.git
```

- Next, navigate to the frontend project directory, `nft-tutorial` with the following command:
- Next, navigate to the frontend project directory with this command:

```bash title="Terminal"
cd nft-tutorial
cd aelf-samples/nft/2-dapp
```
- Once you're in the `2-dapp` directory, open the project with your preferred IDE (e.g., VSCode). You should see the project structure as shown below.

- Once you're inside the `nft-tutorial` directory, open the project with your preferred IDE (e.g., VSCode). You should see the project structure as shown below.

![result](/img/nft-fe-directory.png)
![result](/img/nft-fe-directory.jpg)

#### Install necessary packages and libraries

Expand Down Expand Up @@ -1376,7 +1371,7 @@ npm run dev
:::info
ℹ️ Note: Ensure that you are running this command under the **NFT Tutorial** folder.
ℹ️ Note: Ensure that you are running this command under the **nft/2-dapp** folder.
:::
Expand Down
Binary file added static/img/nft-fe-directory.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed static/img/nft-fe-directory.png
Binary file not shown.

0 comments on commit abfea0f

Please sign in to comment.