-
Notifications
You must be signed in to change notification settings - Fork 1
Home
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