Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/update git commands #188

Merged
merged 4 commits into from
Aug 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.