From 05ef1a0d6f6edc2799ac094110c6d5b39448f543 Mon Sep 17 00:00:00 2001 From: Arka Poddar Date: Thu, 4 Jul 2024 01:41:58 +0530 Subject: [PATCH] Update windows_setup.md Made some required changes which will be handy for setup --- windows_setup.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/windows_setup.md b/windows_setup.md index 61f032e..fa6d54e 100644 --- a/windows_setup.md +++ b/windows_setup.md @@ -228,9 +228,10 @@ solana address When we did `anchor init` it create a basic Solana program for us. What we want to do now is: -1. Compile our program. -2. Spin up `solana-test-validator` and deploy the program to our **local** Solana network w/ our wallet. This is kinda like deploying our local server w/ new code. -3. Actually call functions on our deployed program. This is kinda like hitting a specific route on our server to test that it's working. +1. Run **anchor build** which will compile our program. +2. Spin up `solana-test-validator` and deploy the program to our **local** Solana network w/ our wallet. This is kinda like deploying our local server w/ new code. Open up a separate terminal and take it to root by using **cd ~** command. Unless it may fail, you will get lock in the eternal rotating circle. +3. Run **anchor deploy**, to deploy the program. +4. Actually call functions on our deployed program. This is kinda like hitting a specific route on our server to test that it's working. Anchor is awesome. It lets us do this all in one step by running: