docs: Instruct users not to leave solana-test-validator running (#262)
This commit is contained in:
parent
791269d3e3
commit
9d4d8e551e
|
@ -19,7 +19,7 @@ cd anchor/examples/tutorial/basic-0
|
||||||
|
|
||||||
## Starting a Localnet
|
## Starting a Localnet
|
||||||
|
|
||||||
In a separate terminal, start a local network for testing. If you're running solana
|
In a separate terminal, start a local network. If you're running solana
|
||||||
for the first time, generate a wallet.
|
for the first time, generate a wallet.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -32,6 +32,10 @@ Then run
|
||||||
solana-test-validator
|
solana-test-validator
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Then, shut it down.
|
||||||
|
|
||||||
|
The test validator will be used when testing Anchor programs. Make sure to turn off the validator before you begin testing Anchor programs.
|
||||||
|
|
||||||
::: details
|
::: details
|
||||||
As you'll see later, starting a localnet manually like this is not necessary when testing with Anchor,
|
As you'll see later, starting a localnet manually like this is not necessary when testing with Anchor,
|
||||||
but is done for educational purposes in this tutorial.
|
but is done for educational purposes in this tutorial.
|
||||||
|
|
Loading…
Reference in New Issue