As a developer on the OCP platform, you are limited to a release of apps ONLY to your private account. Publication for general consumption is covered later in the documentation.
This section will walk you through a release of your new app to your instance of the App Directory.
Run the command
opti accounts whoami to retrieve your trackerID. This is the ID of your ODP account and the OCP App Directory.
CD into the working directory for your app. Run
git init to create a Git repository.
yarn build in your working directory, which converts content to Typescript.
opti app validate to have your build validated locally.
You will need the App ID and App Display Name for this step. You can find them in the app.yml file in your working directory.
opti app register [--id=<id>] [--name=<name>] where id=app_id and name=display_name:
Upload your app to OCP using
opti app upload from the working directory:
Use the command at the bottom of the last step,
opti directory publish <app_id>@<version>:
opti directory install <appVersion> <trackerId> to install your app in your private instance of the App Directory. AppVersion is the App ID and version number ([email protected]) and the Tracker Id was retrieved in the first step.
Open you ODP instance. Navigate to to the App Directory:
The apps are listed in alphabetical order. Scroll until you find your app:
Unpublish your app when complete to help us maintain clean and tidy production environment. Run
opti directory unpublish <appVersion> to uninstall and unpublish your app.
Updated about 1 month ago