infu / internet-computer-start

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Internet Computer | Start

This repository contains a Dev Container (optional) and Blast examples.

Run in VS Code

Search & install the 'Internet Base' and 'IB Blast Node Kernel' VS Code extensions, so you can open .blast files.

Run in Codespaces

image

Run locally in VS Code Dev Container

If you use this to start a new project inside a Dev Container, you can delete everything except the .devcontainer directory.

Search & install the 'Dev Containers' extension.

From the left panel choose 'Remote Explorer'

image

Then click 'Open Folder in Container' and 'Open'. It may take a while the first time you do that.

You are in a container made by us which has everything you need to develop on the Internet Computer. Its files are inside .devcontainer

It also installs Blast Node Kernel so you can run .blast files inside it. Not using that Kernel while using readFile and readDir will result in errors.

Your terminal should look like this:

image

You can run this command to start dfx: dfx start --clean --artificial-delay 0

Then open another terminal window and install NNS: dfx nns install

Check the .blast files to see what more you can do.

Internet Computer documentation: https://internetcomputer.org

VSCode Dev Containers are explained here https://code.visualstudio.com/docs/devcontainers/containers

Internet Base https://internetbase.org

About


Languages

Language:Dockerfile 44.0%Language:HTML 30.6%Language:Motoko 22.3%Language:JavaScript 3.1%