macOS xterm-ghostty zsh 144 views

This is a demo of how templates work with icp-cli.

This is using the templates at https://github.com/dfinity/icp-cli-templates

It shows how:

  • A new project is generated from a template - in this case I’m pointing to my local copy of the templates repository, in practice a user will be to just run icp new <project-name>

  • How the builds for the frontend and backend canister execute in parallel.

  • That the backend cansiter is reachable

When we cut a release with this feature, I’ll make a screencast showing:

  • installing the tool with brew
  • generating a project from a template
  • building / deploy
  • opening the frontend canister in a browser
  • explaining the role of canister environment variables