Skip to content
Jose Luis Estevez edited this page Feb 20, 2018 · 3 revisions

Install the insight-onix-ui

First place install ONIXd and run it with the option to reindex to synchronize the node

Example:

./ONIXd -reindex -bind=127.0.0.1:41016 -datadir="/home/jestevez/.ONIX" -rpcbind=127.0.0.1:41019 -rpcuser="onixcoin" -rpcpassword="onixcoin"&

Create the directory where from the sources

mkdir /opt/insight-onixcoin/

cd /opt/insight-onixcoin/

Clone the repositories

git clone https://github.com/jestevez/insight-onix-ui.git

git clone https://github.com/jestevez/insight-onix-api.git

Install dependencies:

cd insight-onix-api/

npm install buffertools

npm install bignum@0.6.2

npm install

Symbolic link to frontend

ln -s /opt/insight-onixcoin/insight-onix-ui/public/ /opt/insight-onixcoin/insight-onix-api/public

Running

cd insight-onix-api/

BITCOIND_USER='onixcoin' BITCOIND_PASS='onixcoin' BITCOIND_HOST='127.0.0.1' NODE_ENV="production" INSIGHT_NETWORK="livenet" INSIGHT_PUBLIC_PATH=public INSIGHT_FORCE_RPC_SYNC=1 node insight.js

Clone this wiki locally