Skip to content

Commit

Permalink
Feat/update git commands (#188)
Browse files Browse the repository at this point in the history
* Adding new git commands for DAO

* minor change

* Added github instruction in nft contract page

---------

Co-authored-by: RutvikGhaskataEalf <[email protected]>
  • Loading branch information
AelfHarsh and RutvikGhaskataEalf authored Aug 28, 2024
1 parent 8792a25 commit 5625496
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 18 deletions.
11 changes: 6 additions & 5 deletions docs/quick-start/developers/dao-dapp/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -676,18 +676,19 @@ Let's start by cloning the frontend project repository from GitHub.
- Run the following command in the `capstone_aelf` directory:

```bash title="Terminal"
git clone https://github.com/AElfProject/vote-contract-frontend.git
git clone https://github.com/AElfProject/aelf-samples.git
```

- Next, navigate to the frontend project directory with this command:

```bash title="Terminal"
cd vote-contract-frontend
cd aelf-samples/vote/2-dapp
```

- Once you're in the `vote-contract-frontend` directory, open the project with your preferred IDE (e.g., VSCode). You should see the project structure as shown below.
- 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/nft-fe-directory.jpg)

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

#### 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 **Developer_DAO** 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 @@ -45,28 +45,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 @@ -1378,7 +1373,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 5625496

Please sign in to comment.