[gentoo] Duniter install

As root, install all prerequisites:

# emerge -av net-libs/nodejs

Get source from GitHub:

$ cd ~/src
$ git clone https://github.com/duniter/duniter.git
$ cd duniter
$ npm install
...

After that configure your node, sync blocks and run:

$ node ./bin/duniter wizard network
$ node ./bin/duniter wizard key
$ chmod 0600 ~/.config/duniter/duniter_default/conf.json
...
$ node ./bin/duniter sync test-net.duniter.fr 9201
...
$ node ./bin/duniter start
... some warnings :-( ...
2016-08-21T21:25:42+02:00 - debug: Plugging file system...
2016-08-21T21:25:42+02:00 - debug: Loading conf...
2016-08-21T21:25:42+02:00 - debug: Loading crypto functions...
2016-08-21T21:25:42+02:00 - debug: Upgrade database...
2016-08-21T21:25:42+02:00 - info: >> NODE STARTING
2016-08-21T21:25:42+02:00 - info: UPnP: configuring...
2016-08-21T21:25:42+02:00 - trace: UPnP: mapping external port 9330 to local 9330...
2016-08-21T21:25:43+02:00 - info: Node version: 0.30.3
2016-08-21T21:25:43+02:00 - info: Node pubkey: JAe4uc3gdbFxHfctDswp1F2CBTAe8peVVYNGgXSnsqNG
2016-08-21T21:25:43+02:00 - info: Crawling the network...
2016-08-21T21:25:43+02:00 - warn: Local node is not a member. Waiting to be a member before computation a block.

You’re in !

2 Likes

Une pull request sur ce document du dépôt serait fort appréciée !