The Preferred Server Setup Process can be broken down into the following stages below.

This article assumes you have rough working knowledge of how to open a ssh connection to your server locally and perform some basic commands (as documented below)


Setup Blockstack

Official Website

About: Blockchain Namespace registration and object notation.

Installation

Configuration

Backup


Setup Redis

Official Website

About: NoSQL Database Caching & Geospatial Abstraction

Installation

Configuration

Backup


Setup Node-Red

Official Website

About: Visual Editor for Server API Endpoints and Blockstack middleware component.

Installation

Installation of Nodes

Import of Flows

Configuration of Nodes in Flows

Backup


Setup Forever

Official Github

About: Tool for ensuring that the red.js (node-red) script runs continuously (eg if node-red crash auto rerun)

Setup:


Setup a ShellScript

About: Single shell script (file.sh) to execute our Forever script when the shell script is called.

Setup:


Setup Crontab

About: To call our shell script upon server reboot. (in effect calling the Forever script, which in turn keeps alive the Node-Red instance)

Setup: