Skip to content

Creating a Generic App

The following commands require a session

Check the Quickstart guide on how to login.

Generic applications are not tied to the Kelvin app lifecycle.
This allows users to leverage Docker's ecosystem to run tailored applications.

Generic applications are created with the kelvin app create --app-type=docker command.

kelvin app create my-app --app-type=docker

The creation process should yield the following output:

[kelvin.sdk][2021-01-12 22:12:52][I] Creating new application "my-app"                                                                                                                                                                                    
[kelvin.sdk][2021-01-12 22:12:52][I] Retrieving the latest schema version                                                                                                                                                                                 
[kelvin.sdk][2021-01-12 22:12:55][R] Successfully created new application: "my-app".                                                                                                                                                                      

        The provided configuration "app.yaml" is a base sample.                                                                                                                                                                                           

        You may continue its configuration using "studio". Refer to "kelvin studio --help" for more information.                                                                                                                                            

Application Structure

The application tree has the following structure:

.                                                                                                                                                                                                                                                         
├── Dockerfile                                                                                                                                                                                                                                            
└── app.yaml

A default app.yaml configuration file and a blank Dockerfile will be generated:

app:
  docker:
    args: []
    context: .
    dockerfile: Dockerfile
  type: docker
info:
  description: my-app
  name: my-app
  title: my-app
  version: 1.0.0
spec_version: 2.0.0