code: def create_app_from_template(self, image_name, name, template, name_in_template,
                                   other_images=None, oc_new_app_args=None, project=None):
          
          self.project = project or self.get_current_project()
          oc_new_app_args = oc_new_app_args or []
  
          # push images to registry
          repository, tag = list(name_in_template.items())[0]
          self.import_image(repository + ":" + tag, image_name)
  
          other_images = other_images or []
  
          for o in other_images:
              image, tag = list(o.items())[0]
              self.import_image(tag.split(':')[0] + ":" + tag.split(':')[1], image)
  
          c = self._oc_command(["new-app"] + [template] + oc_new_app_args + ["-n"] + [project]
                               + ["--name=%s" % name])
  
          logger.info("Creating new app in project %s", project)
  
          try:
              # ignore status because sometimes oc new-app can fail when image
              # is already pushed in register
              o = run_cmd(c, return_output=True, ignore_status=True)
              logger.debug(o)
          except subprocess.CalledProcessError as ex:
              raise ConuException("oc new-app failed: %s" % ex)
  
          return name
docs: Helper function to create app from template
          :param image_name: image to be used as builder image
          :param name: name of app from template
          :param template: str, url or local path to a template to use
          :param name_in_template: dict, {repository:tag} image name used in the template
          :param other_images: list of dict, some templates need other image to be pushed into the
                 OpenShift registry, specify them in this parameter as list of dict [{<image>:<tag>}],
                 where "<image>" is image name with tag and "<tag>" is a tag under which the image
                 should be available in the OpenShift registry.
          :param oc_new_app_args: additional parameters for the `oc new-app`
          :param project: project where app should be created, default: current project
          :return: None