Agoric / documentation

User documentation
https://agoric.com/documentation/
Apache License 2.0
15 stars 40 forks source link

Page 1 - Start a Local Chain #934

Closed sufyaankhan closed 3 months ago

sufyaankhan commented 6 months ago

Goal: Create a (Lesson plan + video) that shows the code and explainer for the following:

kbennett2000 commented 6 months ago

Video: https://youtu.be/XT1S4E1h-jM?si=32Wb8LFf_rdI20gb

Instructions: Ensure Node is installed in your environment. If you need to install Node in your environment you can follow the steps here --> https://docs.agoric.com/guides/getting-started/#installing-nvm-and-node

Ensure Yarn is installed in your environment. If you need to install Yarn in your environment you can follow the steps here --> https://docs.agoric.com/guides/getting-started/#installing-yarn

Clone the Agoric SDK from the Agoric GitHub repo: git clone https://github.com/Agoric/agoric-sdk

Go to SDK folder: cd agoric-sdk

Run the Yarn commands: yarn install yarn build

Add the Agoric bin folder to your PATH variable: export PATH=$PATH:/home/agoric/bin

Link the CLI to the bin folder: yarn link-cli ~/bin/agoric

Check to ensure the SDK is installed: agoric --version

Create a new project: cd .. agoric init testProject cd testProject

Install the Agoric components: agoric install

Start a local chain: agoric start

kbennett2000 commented 6 months ago

2/1 - Ready for review @sufyaankhan

sufyaankhan commented 6 months ago

How can I see what it would look like - finished page.

kbennett2000 commented 6 months ago

How can I see what it would look like - finished page.

PR with new page -- https://github.com/Agoric/documentation/pull/966 Preview of content in proposed React slide control -- https://docs.google.com/document/d/12JbK7dWqhmn6hk56pEHLLVVnEwVDeaFr5SqQ6gZleag/edit?usp=sharing

kbennett2000 commented 6 months ago

Ready for your review @sufyaankhan -- https://github.com/Agoric/documentation/blob/kbennett2000-patch-1/main/guides/getting-started/Explainer%20-%20How%20to%20Start%20a%20Local%20Chain.md

kbennett2000 commented 6 months ago

https://github.com/Agoric/documentation/pull/976

sufyaankhan commented 6 months ago

Looks good to me. Approved.

sufyaankhan commented 6 months ago

@kbennett2000 FYI

dckc commented 4 months ago

976 is not merged.

dckc commented 3 months ago

fixed in ##1066