Skip to content

Latest commit

 

History

History

godot-html5-template

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Godot HTML5 sample

Overview

The example shows how to deploy a Godot HTML5 build on ICP in an asset canister. The Godot HTML5 build is deployed as frontend, no backend is needed in this sample.

Project structure

The /frontend folder contains the pre-built Godot HTML5 export. The frontend is deployed as an asset canister.

Prerequisites

  • Install icp-cli: npm install -g @icp-sdk/icp-cli @icp-sdk/ic-wasm

Install

Clone the example project:

git clone https://github.com/dfinity/examples
cd examples/hosting/godot-html5-template

Deployment

Start the local network:

icp network start -d

Deploy the canisters:

icp deploy

icp deploy prints the frontend URL. On the local network it is derived from the canister name:

http://frontend.local.localhost:8000

Stop the local network when done:

icp network stop