GuidesAPI Reference
Log In
Guides

Step 2: Create an Application

Applications in Prodvana are created via a config file.

Install pvnctl

Follow pvnctl docs for installing pvnctl. You should be able to run it to see the Runtime created in the previous step:

pvnctl runtimes list

Create an Application

Creating a .pvn.yaml file for your application:

application:
  name: my-app # replace with your desired app name
  releaseChannels:
  - name: staging
    runtimes:
    - runtime: my-runtime  # pick runtime from previous step
  - name: production
    runtimes:
    - runtime: my-runtime  # pick runtime from previous step
    preconditions:
    - releaseChannelStable:
        releaseChannel: staging
    - manualApproval: {}

Apply this config file using pvnctl:

pvnctl configs apply my-app.pvn.yaml

If you now navigate to my-demo-organization.runprodvana.com, you should see this Application now.