Skip to content

Creating application

One of sunodo's goal is to be the easiest way to create new Cartesi applications from scratch.

To create a new application from a basic javascript template, run:

$ sunodo create my-app --template javascript
 Application created at my-app

This will create a new directory called my-app with a basic javascript nodejs template, with the following files:

  • Dockerfile: The Dockerfile used to build the application.
  • general guidance to how go from there
  • package.json: the application's package.json file with basic dependencies
  • src/index.js: the application entrypoint

To build the application for the first time, follow the building guide. To learn more about other templates, follow to the available templates section.