Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/infu/internet-computer-start


https://github.com/infu/internet-computer-start

Last synced: 5 days ago
JSON representation

Awesome Lists containing this project

README

        

# 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