Skip to content

Conversation

@LeslieOA
Copy link

@LeslieOA LeslieOA commented Mar 12, 2024

Algorand Coding Challenge Submission

What was the bug?

Not so much a "bug", just more setup task:

  • Install dependancies with npm install

Note: I already had algokit setup from TEALScript development

How did you fix the bug?

npm install

Omitting setup/development tasks mentioned in the README, but I'll happily accept another meaningless bonus point for eslint-disable-next-line no-console 😋

Console Screenshot:
Screenshot 2024-03-12 at 14 48 35

✌🏾

@iskysun96
Copy link
Contributor

Hey Leslie! Did you manually install all of the dependencies one by one with npm install?

If so, there is an algokit command that you can use to do all of the setups with one command. https://developer.algorand.org/docs/get-details/algokit/features/bootstrap/

If you comment here specifying the command I am talking about and explain how to use it, I will mark your submission approved!

@LeslieOA
Copy link
Author

LeslieOA commented Mar 12, 2024

Hey Leslie! Did you manually install all of the dependencies one by one with npm install?

If so, there is an algokit command that you can use to do all of the setups with one command. https://developer.algorand.org/docs/get-details/algokit/features/bootstrap/

If you comment here specifying the command I am talking about and explain how to use it, I will mark your submission approved!

Nope: literally just npm install (as I already had the algokit_sandbox Docker container running as I'm actively working on smart contracts).

...guessing you just need me to type algokit bootstrap all, right? 🥲

@iskysun96
Copy link
Contributor

(as I already had the algokit_sandbox Docker container running as I'm actively working on smart contracts).
I assume you are talking about having the localnet running. Even if you have the localnet running, you won't be able to run the code without installing all of the dependencies. The AlgoKit command you mentioned will solve this problem.

Yes, you are correct! all you need to do is run that algokit command and boom it does everything for you. So in the future, if there is an open-sourced Algorand project that you clone to work on, you know what to do 😎

🎉 Congrats on solving the 2nd Algorand Coding Challenge!

I have labeled your PR approved so you can now claim your certificate.

You can claim your certificate of completion NFT here:
https://goplausible.xyz/claim/f5ctf17aqhhzxxhrjgzye58g5fa07tr9x7q1j595041m2t7drgkx4z87neww65f81ehyvkxd7qp0f21pzg7vpdne0vqrncc7m1bv02g

@iskysun96 iskysun96 added the Approved ✅ Successfully completed the challenge! label Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Approved ✅ Successfully completed the challenge!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants