The code that runs the ProtoSchool website. Visit https://proto.school for interactive tutorials on decentralized web protocols. Explore IPFS and Filecoin through code challenges, code-free lessons, and local events.
This PR adds Helia to the project so that we can create Helia tutorials.
TLDR;
can import helia, local build works, created a lesson using protowizard, but cant figure out how to actually use Helia in the lessons without causing build errors. Also, staging build is failing
Steps:
cd into project
npm install helia -> adds to package.json
open Lesson.vue
Add helia
as global (line 205)
modules (line 178)
eval function (line 172)
npm start -> actually works, wasn't working when I tried to import helia
create helia 101 lesson
Verify helia appears on line 1 of code editor in lesson /* global ipfs, helia, all, toBuffer */
Try to create a node
can't `import { createHelia } from "helia"' without error
This PR adds Helia to the project so that we can create Helia tutorials.
TLDR;
can import helia, local build works, created a lesson using protowizard, but cant figure out how to actually use Helia in the lessons without causing build errors. Also, staging build is failing
Steps:
cd
into projectnpm install helia
-> adds to package.jsonLesson.vue
helia
import
heliahelia
appears on line 1 of code editor in lesson/* global ipfs, helia, all, toBuffer */