Skip to content

Commit 4e3f90d

Browse files
committed
update AGENTS.md with dfx instructions
1 parent f516817 commit 4e3f90d

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

AGENTS.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,27 @@ The Rust code for static binary template creation and manipulation of those temp
1818

1919
Whenever you are working on a feature, unless otherwise noted in the issue or it makes sense not to do this, you should generally use the following commands to test any changes you make by generating the stable and experimental templates, running one or more of the example tests locally, and linting. You should do this BEFORE COMMITTING ANY CHANGES.
2020

21+
### Starting dfx
22+
23+
First ensure that `dfx` has been installed and is available as a command:
24+
25+
```
26+
dfx --version
27+
```
28+
29+
Try this first if `dfx` is not available as a command:
30+
31+
```
32+
export PATH="$HOME/.local/share/dfx/bin:$PATH"
33+
dfx --version
34+
```
35+
36+
Once `dfx` exists start it:
37+
38+
```
39+
dfx start --clean --background --artificial-delay 0
40+
```
41+
2142
### Generating the Wasm binary canister templates
2243

2344
Here's how to generate the stable and experimental Wasm binary canister templates with one command. Always run this command from the Azle root directory:

0 commit comments

Comments
 (0)