Mise à jour effectuée, merci de nous signaler tout dysfonctionnement ! | Upgrade done, please let us know about any dysfunction!

Commit a443774a authored by Cédric Moreau's avatar Cédric Moreau

[doc] README: installation instructions

parent 4b8a10aa
Pipeline #8822 passed with stage
in 1 minute and 4 seconds
# Currency-Monit Module
## Installation for developers
### Requirements
* Nodejs 9.x.x
* Python
### Dependencies and transpilation
npm install -g yarn
yarn
### First sync and start
Synchronize on a currency (for example Ğ1):
node run.js sync g1.duniter.org
Then start currency-monit:
node run.js currency-monit
> Tip: for development purposes you may not need the whole blockchain which is long to index. You can limit the sync to 1000 for example to speed up the process:
>
> node run.js sync g1.duniter.org 1000
### Access
Then visit [http://localhost:10500](http://localhost:10500).
# Currency-Monit Module
Requires Duniter 1.6.22 or higher
## Installation
**Warning: only tar.gz format works ! Don't use zip format.**
### If you use web-ui, install it very easy:
1. go to localhost:9220/#/main/settings/modules
and at the foot of page enter:
```bash
<<<<<<< HEAD
https://github.com/duniter/duniter-currency-monit/archive/0.3.7.tar.gz
=======
duniter-currency-monit@0.4.5
>>>>>>> dev2
```
then clik to button INSTALL THIS MODULE
2. restart your duniter node
### If you don't use web-ui:
1. download and uncompress archive at the location of your choice
2. plug the plugin to your duniter node:
```bash
<<<<<<< HEAD
duniter plug https://github.com/duniter/duniter-currency-monit/archive/0.3.7.tar.gz
=======
duniter plug duniter-currency-monit@0.4.5
>>>>>>> dev2
```
3. Stop your duniter node and restart it in the following method:
```bash
duniter currency-monit [host] [port]
```
then visit `host:port` (default is `localhost:10500`)
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment