Skip to content

Latest commit

 

History

History

schemas

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Glaze demo app

Example Web app using Glaze libraries.

Setup

  1. Install dependencies using yarn install
  2. Start a local Ceramic node using yarn ceramic
  3. Publish the model to your Ceramic node with yarn publish-model

Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode. Open http://localhost:3000 to view it in the browser.

yarn build

Builds the app for production to the build folder.

yarn create-model

Runs the create-model.mjs script. This is only needed to make changes to the model used by the app. A hex-encoded 32-byte SEED environment variable must be present to create a key DID for the model when running the script.

Set the CERAMIC_CLIENT_URL environment variable to change the Ceramic node to run against - the scripts will default to http://localhost:7007 if not provided.

License

Apache-2.0 OR MIT