Setting up a local development environment


You can install a BMC Helix Innovation Studio Developer Sandbox on your local system by running a Docker container. You can use this local Developer Sandbox to develop and test your applications on your machine without the security restrictions placed on the Amazon Web Services (AWS) Developer Sandbox instances on BMC Developer Portal. To create a local development environment, use the scripts provided by BMC.

Important

  • The bash scripts enable you to only create a new local development environment. 
  • Upgrading the local development environment is not supported.


Benefits of running a BMC Helix Innovation Studio Developer Sandbox on a local system

Setting up a BMC Helix Innovation Studio Developer Sandbox on your local system provides the following benefits:

  • Capability to test and debug
  • Capability to build and leverage Web APIs and external record definitions
  • Support for incoming REST API calls
  • Ability to send and receive emails
  • Share folders between the laptop and the Docker instance to have the logs available locally

Limitations of accessing Developer Sandbox from BMC Developer Portal

The Developer Sandbox instances provided by BMC are currently running on AWS instances. The Developer Sandbox has the following limitations for security purposes:

  • No outbound connections are allowed, and you cannot perform the following actions:
    • Leverage Web APIs and external record definitions
    • Create custom Java REST API, HTTP, or web services call from the Java code
    • Send and receive emails
  • Most of the inbound connections are blocked. Developers cannot connect with the Java IDE to the developer instance and debug the Java code.
  • The debug port is closed, preventing the developers from testing and debugging their custom Java code. 
  • No support for deploying bundles that are not built by the developer in the Developer Sandboxes, preventing developers from building custom extensions for other applications, such as the applications developed by BMC. 
  • Blocked connection to the Docker instance preventing the developer from freely accessing the logs.
  • No ability to code locally and deploy the custom code in the cloud. 

System requirements

The following table lists the operating system and installers you need to set up the local development environment:

Products and installers

Version

Microsoft Windows

10

Docker

Latest

(Minimum version 20.01.xx)

Important: Make sure you allocate a minimum of 2 CPUs and 16 GB RAM for Docker.

Latest

Latest

The bash scripts enable you to only create a new local development environment. 


Warning

The Docker image provides only BMC Helix Innovation Studio and BMC Helix ITSM bundles. BMC Helix Virtual Agent and BMC Helix Business Workflows bundles are not provided in the Docker image. 

To install and configure Docker for Microsoft Windows

  1. Download and install Docker version 20.10 or later for Microsoft Windows.

  2. In the system tray, right-click the Docker icon.
  3. To configure the Docker settings, perform the following steps: 
    For more information, see Get started with Docker for Windows in the Docker documentation.
    1. Select Settings > Resources > Advanced and make sure that a minimum of 2 CPUs are selected and a minimum of 16 GB memory is allocated.

      Best practice

      To configure the Docker image, we recommend that you allocate 16 GB of memory.

    2. Select Settings > General, and select Use the WSL 2 based engine.
    3. Select Settings > Resources > File Sharing and configure the drive where you have installed the scripts; for example, the C or the D drive.

Important

To install and configure Docker for MAC OS and OS, see the instructions in the notes mac osx.md and notes centos.md files in the scripts folder.

To install Git Bash

  1. Access the Git Download URL and select Windows.

  2. Cancel the download for the default Git installer and from the UI, select the 64-bit Git for Windows Portable option.
  3. After you run the executable file, the Git command-line program is installed in the C:\git\PortableGit folder.

Git Bash is saved as git-bash.exe inside the PortableGit folder.

Git folder.png

Important

To install and configure Docker for MAC OS and Cent OS, see the instructions in the notes mac osx.md and notes centos.md files in the scripts folder.


To download and install scripts

          1. Log in to Developer Community image-2025-2-6_14-55-43.png and click Request Sandbox. 

image-2025-2-6_14-57-52-1.png

           2. On the Request Local Sandbox Access page, click Request a Local Developer Sandbox.

image-2025-2-6_14-59-12-1.png

3. To join the private BMC Helix Innovation community group, click on Ask to join.

image-2025-2-6_15-2-43-1.png

          4. After your access is approved, download the sandbox files by following the instructions under Group Details.     

5. Extract the sandbox-scripts.zip file into a sandbox folder. Move the image.tar.gz files into the same folder.
    For example, you can extract the file to C:\Sandbox or C:\Users\<userid>\Sandbox folder. 

    The following table displays the structure of the sandbox folder after running the setup_sandbox.sh script:

Folder

Folder path in Microsoft Windows

Folder Path in Git Bash

Files added to the folder

logs

C:\sandbox\

/c/sandbox/

Main folder containing the installation scripts.


To create a development environment

Port 5432 must be open for the PostgreSQL container in the sandbox. If the 5432 port is in use, change the port in the sandbox.yml file. The sandbox.yml file is located in the folder where the setup-sandbox.sh script exists. 

Also, make sure that ports 8080 and 8008 are open for the server HTTP ports.

Run the setup-sandbox.sh script in Git bash:

./setup_sandbox.sh

The script performs the initial sanity checks, such as checking whether the Docker is running and whether sufficient resources are allocated and configured.

After performing the initial checks, the script performs the following tasks:


    • Creates the following subfolders:

      Subfolder

      Files added to the folder

      logs/ 

      Sandbox setup logs

      logs/ars

      AR System server logs

      logs/midtier 

      Mid Tier logs

      postgres/data 

      Database storage files

      Important: The size of database storage can grow over 4GB. Make sure that you have sufficient storage available.

      docker-images/ 

      The downloaded Docker images are moved to this folder.

    • Cleans the database and creates log folders if the script was already executed
    • Loads the Docker images
    • Starts the PostgreSQL database as a container by using the current official PostgreSQL Docker image
    • Restores a base database by using the Docker image: innovation-suite-db-xx.xx.tar
    • Launches the server by using the Docker images: arserver:xxxxxx and midtier:xxxxxx

After the installation is complete, a link to BMC Helix Innovation Studio along with the credentials is displayed for the administrator. 

Important

To install and configure Docker for MAC OS and Cent OS, see the instructions in the notes mac osx.md and notes centos.md files in the scripts folder.

To start or stop BMC Helix Innovation Studio

To start the server, run the  start-sandbox.sh script in Git bash:

./start-sandbox.sh

To stop the server, run the  stop-sandbox.sh script in Git bash:

./stop-sandbox.sh

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*