aspectron / sia-node

Remote SIAD manager for Sia Cluster
MIT License
6 stars 4 forks source link

Sia Node 0.9.2

http://aspectron.com/#SiaCluster

dependencies Status license:mit

Sia Host (siad) monitoring utility for use with Sia Cluster

siad must be running on the local computer where Sia Node interface is deployed.

Setup

Download binaries from GitHub located here: https://github.com/aspectron/sia-cluster/releases

Setup Sia Node

You will need to specify:

You can hit ENTER to get defaults that can later be changed in config/sia-node.local.conf

Once complete, you can start Sia Node:

Custom Configuration

You need to configure following settings in your config/sia-node.local.conf:

{
    // instance identifier - if not set, defaults to hostname
    identifier : "<instance-name>",

    // rpc server IP and auth string that 
    // matches your Sia Cluster deployment
    rpc : {
        address : "<sia-cluster-ip>:<port>",
        auth : "<unique-auth-hex-string>"
    }
}

Deploying on Ubuntu

Full installation script:

cd ~
wget https://nodejs.org/dist/v6.2.2/node-v6.2.2-linux-x64.tar.xz
tar xf node-v6.2.2-linux-x64.tar.xz
ln -s node-v6.2.2-linux-x64 node
echo -e "\n\nPATH=\"\$HOME/node/bin:\$PATH\"\n\n" >> ~/.profile
source ~/.profile
git clone https://github.com/aspectron/sia-node
cd sia-node
npm install
node sia-node

Deploying on Windows

For windows, download and install:

Run the following from command line:

git clone https://github.com/aspectron/sia-node
cd sia-node
npm install
node sia-node