Setting up the containerized developer toolkit environment
An SI can perform a clean setup of the containerized developer toolkit environment on a local system.
Before you begin
- Every file or command that is mentioned in the Docker Compose documentation is relative to the
devtoolkit_docker/compose
directory unless mentioned otherwise. - Run logs are available in the
logs
directory. Older logs are backed up in thelogs/backups
directory. - Review the values in the default Docker Compose properties file and modify values as needed. For more information, see Overriding the default docker compose properties.
- To add developer toolkit-specific functional properties, see Overriding functional properties with developer toolkit-specific values.
Procedure
Setting up the developer toolkit environment video
Watch this video to understand the developer toolkit environment in a snapshot.
After you extract the developer toolkit, you can proceed to set up the developer toolkit environment. This procedure is applicable to users who are setting up the developer toolkit for the first time or want to set up a clean developer toolkit after getting rid of the existing developer toolkit environments completely.
If you want to upgrade your existing developer toolkit environment, the following procedure is not applicable. For more information about upgrading, see Upgrading an existing containerized developer toolkit environment.
- This command also performs a wipe-clean to erase any existing Docker container or volume data.
- By default, the command assumes that you are setting up the developer toolkit environment from
scratch with the default configurations. You need not override or change any property in the
om-compose.properties file for general use cases. Each property already assumes
a default value. For advanced usage, you can uncomment a property and change the default value to
override it as required.
However, if you are setting up the developer toolkit on macOS, you must override the
HOST_OS
andJAVA_HOME
properties.For more information about the properties, see Overriding the default Docker Compose properties.
If you have installed the devtoolkit_extras.tar file as explained, the setup process by default installs the Sterling™ Intelligent Promising Inventory Visibility adapter phase 2.
If you want to enable V2 APIs in the developer toolkit Inventory Visibility tenant, ensure that the V2 APIs are enabled in your Inventory Visibility tenant. To enable the V2 APIs in the developer toolkit, set the IV_V2_ENABLE=Y property in the om-compose.properties file.
To install Sterling Intelligent Promising Inventory Visibility adapter phase 1 instead, see Installing developer toolkit with Sterling Intelligent Promising Inventory Visibility phase 1 adapter. For more information, see Inventory service.