Skip to content

Commit c24a30e

Browse files
authored
fix(format): itemize cloning steps
1 parent 12fe507 commit c24a30e

File tree

1 file changed

+19
-20
lines changed

1 file changed

+19
-20
lines changed

docs/ftso/guides/build-first-app.mdx

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -35,32 +35,31 @@ Ensure you have the following tools installed:
3535
- [Foundry](https://book.getfoundry.sh/getting-started/installation)
3636
- [Node.js](https://nodejs.org/en/download/)
3737

38-
## Start with flare template of a Foundry project
38+
## Clone the Foundry template
3939

40-
Clone the [flare template](https://github.com/flare-foundation/flare-foundry-starter) and navigate into the project directory:
40+
1. Clone the [flare-foundry-starter](https://github.com/flare-foundation/flare-foundry-starter) and navigate into the project directory:
4141

42-
```bash
43-
git clone https://github.com/flare-foundation/flare-foundry-starter.git
44-
cd flare-foundry-starter
45-
```
42+
```bash
43+
git clone https://github.com/flare-foundation/flare-foundry-starter.git
44+
cd flare-foundry-starter
45+
```
4646

47-
Install the project dependencies.
47+
2. Install the project dependencies:
4848

49-
```bash
50-
forge soldeer install
51-
```
49+
```bash
50+
forge soldeer install
51+
```
5252

53-
You might have to modify the `remappings.txt` so that `/src` part of path is before the non src part
54-
Like this
53+
3. You might need to modify `remappings.txt` so `/src` paths are read correctly, e.g.:
5554

56-
```bash
57-
@openzeppelin-contracts/=dependencies/@openzeppelin-contracts-5.2.0-rc.1/
58-
flare-periphery/=dependencies/flare-periphery-0.0.1/
59-
forge-std/=dependencies/forge-std-1.9.5/src/
60-
forge-std/=dependencies/forge-std-1.9.5/
61-
surl/=dependencies/surl-0.0.0/src/
62-
surl/=dependencies/surl-0.0.0/
63-
```
55+
```plaintext title="remappings.txt"
56+
@openzeppelin-contracts/=dependencies/@openzeppelin-contracts-5.2.0-rc.1/
57+
flare-periphery/=dependencies/flare-periphery-0.0.1/
58+
forge-std/=dependencies/forge-std-1.9.5/src/
59+
forge-std/=dependencies/forge-std-1.9.5/
60+
surl/=dependencies/surl-0.0.0/src/
61+
surl/=dependencies/surl-0.0.0/
62+
```
6463

6564
## Create and compile a contract
6665

0 commit comments

Comments
 (0)