GlobalGateway Image Capture SDK Sample App installation guide

Please find below the steps required to install the Global Gateway Image Capture Sample App

Windows Prerequisites

Git Bash for Windows https://git-scm.com/downloads
Node Js for Windows https://nodejs.org/en/download/

*If you installed Node before Git Bash you may need to restart the Git Bash application

Windows instructions

  1. Download the Sample app from GitHub and unzip the package at your desired location
    Download location: https://github.com/Trulioo/globalgateway-image-capture-sample-app
    or use Git clone
    $ Git clone https://github.com/Trulioo/globalgateway-image-capture-sample-app

  2. Obtain a token from [email protected] and replace IMAGECAPTURE_SDK_NPM_AUTH_TOKEN with your token you've received

  1. Launch Git Bash using administrative rights
  1. Navigate towards the installation package using Git Bash application where you unzipped the files at step 1
  1. To install the package run command “npm install”
  1. To update version of the SDK to the latest package, please run the command “npm run update-gg-capture”
  1. To launch the sample app run the command “npm start”
  1. Launch your browser and the application on the IP where Node has been launched with the sample app

Linux Prerequisites

Node Js
NPM
Git

Linux instructions (Ubuntu)

  1. Obtain a NPM token from [email protected]

  2. Clone the GlobalGateway image capture repo
    sudo git clone https://github.com/Trulioo/globalgateway-image-capture-sample-app.git

  1. Navigate towards the installation package
    cd globalgateway-image-capture-sample-app/
  1. open the .npmrc with your favorite text editor
    sudo nano .npmrc
  1. Replace IMAGECAPTURE_SDK_NPM_AUTH_TOKEN with your token you've received from the Customer Success team
  1. To install the package run command “sudo npm install”
  1. To update version of the SDK to the latest package, please run the command “sudo npm run update-gg-capture”
  1. To launch the sample app run the command “sudo HTTPS=true npm start"
  1. Launch your browser and the application on the IP where Node has been launched with the sample app

Did this page help you?