i2 Connect gateway

    Show / Hide Table of Contents

    Running the Python connector

    The example Python connector is a simple Flask application built on Python 3.7.4. It is imperative that you have Python installed and added to PATH. Older versions of Python may not allow the application to work as expected.

    Installation

    In the project directory (where the Pipfile is located), run setup on Windows or ./setup.sh on Linux to execute the setup script.

    This will create the virtual environment and install the required dependencies for the working project directory.

    Starting and stopping the application

    To start the connector application, run the following command in the working directory:

    pipenv run python app.py
    

    Simply press Ctrl+C to stop the application.

    Back to top © N. Harris Computer Corporation.