Skip to main content

How to Create an Application?

Applications cannot be launched on their own in Akinon Commerce Cloud. They need to be linked to a project. This link is enabled throughProjectApp. Any application, whether created by the user or someone else, can be added in the project. Issuing process is only possible in this manner.

In addition to AkinonCLI explained below, you can find out how to create an application on Akinon Commerce Cloud screens in the tutorial page.


  • akinoncli projectapp add {project_id} {app_id}

Adds the application with the provided ID to the project with the provided ID and creates ProjectApp.

ParameterDescriptionMandatory
project_idProject IDYes
app_idApplication IDYes
  • akinoncli projectapp list {project_id}

It lists applications linked to the project. If the application is issued, then there will be a link in the URL field.

ParameterDescriptionMandatory
project_idProject IDYes

Environment Parameters

It is possible to launch applications in different projects with different settings. These data can be accessed in the ENV Variables column in the application list. For instance, default language setting can be different for the same application in different projects.


  • akinoncli projectapp add-env {project_id} {app_id} {ENV_KEY} {ENV_VALUE}

Adds environment parameter to the application.

ParameterDescriptionMandatory
project_idProject IDYes
app_idApplication IDYes
ENV_KEYKey for the relevant parameterYes
ENV_VALUEValue of the relevant parameterYes

It can be updated by launching the same command.

Example

$ akinoncli projectapp add-env 1 32 DEFAULT_LANG TR_TR`

  • akinoncli projectapp remove-env {project_id} {app_id} {ENV_KEY}

Removes environment parameter from the application.

ParameterDescriptionMandatory
project_idProject IDYes
app_idApplication IDYes
ENV_KEYKey for the relevant parameterYes

Issuing an Application

In order for an application to be issued, the version to be issued needs to be compiled. This process is explained in the Applications chapter.


  • akinoncli projectapp deploy {project_id} {app_id} {tag}

It issues the related version for the linked project application. This process might take a while. You can view issue status by listing the issues of the application.

ParameterDescriptionMandatory
project_idProject IDYes
app_idApplication IDYes
tagVersion LabelYes
  • akinoncli projectapp deployments {project_id} {app_id}

It lists issues so far of the application in question. You can get information on the relevant issue in the status column.

ParameterDescriptionMandatory
project_idProject IDYes
app_idApplication IDYes