Skip to main content

Deploy application

What you'll learn

How to deploy an application in CodeNOW. To get a general understanding of deployment-related features, see Deployment overview.

Prerequisites

Steps

  1. Go to the detail of your application, scroll down to Deployments and click on Deploy.
  2. Choose the deployment target - the environment to which you want to deploy and the application package that is to be deployed. Afterwards, click on Next.
  3. Now, the current deployment configuration for your deployment target is displayed. You may modify this configuration by pressing Create or Edit, this will create or edit the respective manually created deployment configuration. Make sure to fix any errors. Afterwards, click on Next.
note

Be careful when modifying the deployment configuration, since it may affect more application packages at once.

  1. Now, you can see assigned domains for your environment, if there are any. You may edit the configuration by clicking on Edit Configuration. Afterwards, click on Deploy to set off the deployment process.

Example error

Consider an example scenario depicted in the screenshot below. Our application has 2 packages - 0.0.1 and 0.0.2, so that:

As explained in manually created deployment configuration, when creating a new package and if possible, CodeNOW automatically prolongs the deployment configuration of the previous package. This means that in our example the deployment configuration for 0.0.1 on dev will be prolonged to [0.0.1, 0.0.2] on dev.

Because updating the existing configuration would also affect the package 0.0.1, which doesn't have the DB connection, we can only create a new configuration specifically for package 0.0.2.

Therefore, to fix the issue, we need to create a new configuration for the package 0.0.2, where we specify the service instance for DB. The resulting configurations will be 0.0.1 on dev (without DB) and 0.0.2 on dev (with DB).

Errors

What's next?