Skip to content

Development Environments

Louis Stowasser edited this page Nov 19, 2021 · 18 revisions

In Coviu, we can provide you with multiple environments for various development purpose.

Introduction

Local Sandbox - for your local-hosted app

When you are developing your App in your localhost, you can use local sandbox to point to your local-hosted App. Say your local-hosted App is at http://localhost:9100/plugin.js, your local sandbox's setting would be

sandboxUrl: 'https://{local subdomain}.covi.io',
pluginId: '{pluginId}',
pluginUrl: 'http://localhost:9100/plugin.js',

Staging Sandbox - for coviu-hosted App

When your App code is ready to enter Coviu's software development lifecycle (SDLC), you can submit your App source code via the Source Code Submission at Service Desk. Your App source code will be reviewed, built and hosted on Coviu's domain (e.g. https://plugins.coviu.com/{pluginId}/build/{version}/plugin.js). Then you are able to trigger UAT process. Therefore your staging sandbox's setting would be

sandboxUrl: 'https://{staging subdomain}.covi.io',
pluginId: '{pluginId}',
pluginUrl: 'https://plugins.coviu.com/{pluginId}/build/{version}/plugin.js',

How To Register Sandboxes

You can apply via tech support in service desk link. In your first sandbox application, you will get 2 sandboxes - local and staging for your local development and UAT, respectively. For instance, a company Apple registers sandboxes then they will get sandbox setting as

Local Sandbox
{
  sandboxUrl: 'https://applelocal.covi.io',
  pluginId: 'external-apple-local-plugin',
  pluginUrl: 'http://localhost:9100/plugin.js'
}

Staging Sandbox
{
  sandboxUrl: 'https://apple.covi.io',
  pluginId: 'external-apple-plugin',
  pluginUrl: 'https://plugins.coviu.com/external-apple-plugin/build/1.0.0/plugin.js'
}
* If you need multiple local sandboxes for your team or company level development, you can also register via tech support in service desk link