Skip to content

Latest commit

 

History

History
129 lines (81 loc) · 3.56 KB

README.md

File metadata and controls

129 lines (81 loc) · 3.56 KB

FlowForge Installer

This repository provides the installer for local installations of the FlowForge platform.

Please refer to the main documentation for a complete guide to installing and setting up the platform: https://github.com/flowforge/flowforge/tree/main/docs

Prerequistes

Operating System

The install script has been tested against the following operating systems:

  • Raspbian/Raspberry Pi OS versions Buster/Bullseye 1
  • Debian Buster/Bullseye
  • Fedora 35
  • Ubuntu 20.04
  • CentOS 8/RHEL 8/Amzon Linux 2
  • MacOS Big Sur
  • Windows 10

Node.js

FlowForge requires Node.js v16.

Linux

The install script will check to see if it can find a suitable version of Node.js. If not, it will offer to install it for you.

It will also ensure you have the appropriate build tools installed that are often needed by Node.js modules to build native components.

Windows/MacOS

If the install script cannot find a suitable version of Node.js, it will exit.

You will need to manually install it before proceeding. Information about how to do this can be found on the Node.js website here:

https://nodejs.org/en/download

You will also need to install the appropriate build tools.

On Windows, the standard Node.js installer will offer to do that for you.

On MacOS, you will need the XCode Command Line Tools to be installed. This can be done by running the following command:

xcode-select --install

Installing FlowForge

  1. Create a directory to be the home of your FlowForge install. For example: /opt/flowforge

    For Linux/MacOS:

    sudo mkdir /opt/flowforge
    sudo chown $USER /opt/flowforge
    
  2. Download the Installer zip file from https://github.com/flowforge/installer/releases

  3. Unzip the downloaded file into a temporary location and copy its contents to the FlowForge directory

     cd /tmp/
     unzip flowforge-installer-x.y.z.zip
     cp -R flowforge-installer-x.y.z/* /opt/flowforge
    
  4. Run the installer and follow the prompts

    cd /opt/flowforge
    sh ./install.sh
    

Installing as a service

On Linux, the installer will ask if you want to run FlowForge as a service. This will mean it starts automatically whenever you restart your device.

If you select this option, it will ask if you want to run the service as the current user, or create a new flowforge user. If you choose to create the user, it will also change the ownership of the FlowForge directory to that user.

Configuring FlowForge

The default FlowForge configuration is provided in the file /opt/flowforge/etc/flowforge.yml.

For more details on the options available, see the configuration guide.

Running FlowForge

If you have installed FlowForge as a service, it can be started by running:

service flowforge start

To run it manually, you can use:

  • Linux/MacOS:

    /opt/flowforge/bin/flowforge.sh
    
  • Windows:

    Use the file bin/flowforge.bat in the FlowForge directory

First Run Setup

Once FlowForge is started, you can access the platform in your browser at http://localhost:3000.

The first time you access it, the platform will take you through creating an administrator for the platform and other configuration options.

For more information, follow this guide.

Footnotes

  1. Arm6 devices, such as the original Raspberry Pi Zero and Zero W are not supported.