LogoLogo
  • Introduction
  • Quick Start
    • Deploy Farmstack
    • Removing farmstack
  • Deploying Farmstack
    • Installing Prerequisites
    • Setting up Self-Managed Connectors
    • Setting up Video Library Connector
    • Local Deployment
    • Deployment on AWS EC2
  • Guides
    • Configuring a connector with CSV
    • Configuring a connector with JSON/Rest API
    • Configuring a connector with Google Sheets
    • Dockerization
      • NodeJS
      • Django
      • Flask
    • Install a dockerized application with connector
  • Contributing to FarmStack
Powered by GitBook
On this page
  • Overview
  • Setting up FarmStack connector
  • Running example connectors

Was this helpful?

Export as PDF
  1. Deploying Farmstack

Setting up Self-Managed Connectors

PreviousInstalling PrerequisitesNextSetting up Video Library Connector

Last updated 3 years ago

Was this helpful?

Overview

This tutorial will guide you through the process of running an example self managed connector end-to-end setup. Kindly complete the prerequisites before following this guide.

Setting up FarmStack connector

In the terminal window type the following command to run FarmStack setup:

python3 setup.py

After the setup is complete, in the browser window, open the installer frontend by typing .

Running example connectors

Navigate to New Connector tab

Give the provider a unique name, for example, Test Provider 1 and click Next

Give the consumer a unique name, for example, Test Consumer 1 and click Next

Verify the details and start the connection by clicking Set up Connection button.

Depending on your system resources and internet speed this step could take anywhere from a few seconds to a few minutes. You can check the progress in the terminal window.

When the connector setup is complete, open the status tab and click View transferred data link to see your data.

Kindly wait a couple of minutes for the contract negotiation process of provider and consumer to complete before they can start sharing the data.

After the negotiation, the provider will start streaming data to the consumer. Kindly refresh to see the data shared into the consumer application.

This completes the tutorial for Setting up a Managed connector with usage control example. If you face any issue while running the self managed connector, kindly open a new issue in the Github repository and our experts will guide you.

Installing Prerequisites
http://localhost:8000