Skip to content

Commit

Permalink
Merge pull request #3484 from dfinity/jessiemongeon1-patch-1
Browse files Browse the repository at this point in the history
fix: remove sentence about replica dashboard
  • Loading branch information
jessiemongeon1 authored Sep 17, 2024
2 parents 0c7d5a9 + cf9eb6c commit 32be34e
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions docs/developer-docs/getting-started/hello-world.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ nvm install 18
dfx start
```

This command starts a local instance of the ICP <GlossaryTooltip>replica</GlossaryTooltip> using a single node testnet. The output will return a dashboard URL that can be used to view information about the local replica:
This command starts a local instance of the ICP <GlossaryTooltip>replica</GlossaryTooltip> using a single node testnet.

```
Using the default configuration for the local shared network.
Expand All @@ -94,7 +94,7 @@ Replica API running on 127.0.0.1:4943
```

:::info
While `dfx start` is running, you will not be able to run other commands in the terminal window. You can open another window, or start `dfx` in the background with the `dfx start --clean --background` flag.
While `dfx start` is running, you will not be able to run other commands in the terminal window. You can open another window, or start `dfx` in the background with the `--background` flag.
:::


Expand Down Expand Up @@ -265,7 +265,8 @@ def greet(name: str) -> str:
Deploy the project's <GlossaryTooltip>canisters</GlossaryTooltip> locally:

```
dfx deploy
npm install // Installs node dependencies
dfx deploy // Deploys the project locally
```

This command performs several functions in the background:
Expand Down Expand Up @@ -341,11 +342,11 @@ Output:

This call performs several functions in the background:

- First, it looks up the smart contract's address (known as the canister id) using the smart contract's name `hello_backend` in the file `./.dfx/local/canister_ids.json`.
- First, it looks up the smart contract's address (known as the canister ID) using the smart contract's name `hello_backend` in the file `./.dfx/local/canister_ids.json`.

- Then, it looks up the smart contract's interface in the file `src/declarations/hello_backend/hello_backend.did`.

- It looks up the signature of function greet in the interface.
- It looks up the signature of the function `greet` in the interface.

- It constructs a message for the smart contract's `greet` endpoint with the given `name` text as an argument.

Expand All @@ -355,7 +356,7 @@ This call performs several functions in the background:

- Once the message has been executed, the result was decoded using the interface file and printed to the terminal window.

Alternatively, you can interact with the smart contract via the web browser if a frontend smart contract has been deployed. [Learn more about using the frontend smart contract in the web browser](/docs/current/developer-docs/getting-started/deploy/local)
Alternatively, you can interact with the smart contract via the web browser if a frontend smart contract has been deployed. [Learn more about using the frontend smart contract in the web browser](/docs/current/developer-docs/getting-started/deploy/local).


## Next steps
Expand Down

0 comments on commit 32be34e

Please sign in to comment.