Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/infu/internet-computer-start
https://github.com/infu/internet-computer-start
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/infu/internet-computer-start
- Owner: infu
- Created: 2023-05-18T10:45:28.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-01T11:27:18.000Z (over 1 year ago)
- Last Synced: 2024-08-02T06:15:12.877Z (3 months ago)
- Language: Dockerfile
- Size: 3.45 MB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-internet-computer - IC in Dev Container - Run a local replica inside a Docker container with NNS in VS Code or GitHub Codespaces. (Starters / Tutorials and Samples)
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
## 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'
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:
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