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
  • Quick deployment on Linux
  • Deployment on Linux, MacOS and Windows (with WSL2)

Was this helpful?

Export as PDF
  1. Deploying Farmstack

Local Deployment

PreviousSetting up Video Library ConnectorNextDeployment on AWS EC2

Last updated 3 years ago

Was this helpful?

This deployment has been tested on Linux, MacOS and Windows (with wsl2 and Docker Desktop on wsl2).

Quick deployment on Linux

  • Running this command will install Docker automatically on Linux, if it is not available.

curl https://raw.githubusercontent.com/digitalgreenorg/farmstack-open/main/scripts/install.sh > fs-install.sh && bash fs-install.sh

Deployment on Linux, MacOS and Windows (with WSL2)

  • Install Docker on your system according to OS:

  • For Ubuntu, also install docker-compose:

sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
  • Install the dependencies on ubuntu:

sudo apt install python3-pip python3-venv
  • Clone the repository and open it.

  • Run the setup.py file using python3

git clone https://github.com/digitalgreenorg/farmstack-open.git
cd farmstack-open
python3 setup.py

After the setup is done, you can view the connector setup UI at: .

Docker Desktop for MacOS and Windows
Docker install on Ubuntu
http://localhost:8000