Running your application locally

Rather than packaging and uploading your app every time you change something, you can test it by running it locally in a browser window.

About this task

The IBM® QRadar® GUI Application Framework includes a virtual environment that you can use to run your application locally for testing purposes.

If your app uses QRadar API endpoints, you must connect to a QRadar Console instance. You configure the IP address of the QRadar Console test instance in the console_ip field of the dev_opts object block in your app's manifest.json file.

Procedure

  1. Run your app locally.
    • To run on Unix or Linux, type the following command:

      qradar_app_creator run -w <path_to_app_folder>/<app_folder_name>

    • To run on Windows, type the following command:

      qradar_app_creator run -w <path_to_app_folder>\<app_folder_name>

  2. Open a browser and type http://0.0.0.0:5000 in the address bar. If your browser does not support the http://0.0.0.0 URL, type http://127.0.0.1:5000.

    Your app is displayed in the browser window, and the application output is sent to the command line or to your terminal.