1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/duniter_ynh.git synced 2024-09-03 18:26:35 +02:00
duniter_ynh/README.md

73 lines
3.7 KiB
Markdown
Raw Normal View History

2021-11-25 19:38:32 +01:00
<!--
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
It shall NOT be edited by hand.
-->
# Duniter for YunoHost
2023-03-17 12:03:30 +01:00
[![Integration level](https://dash.yunohost.org/integration/duniter.svg)](https://dash.yunohost.org/appci/app/duniter) ![Working status](https://ci-apps.yunohost.org/ci/badges/duniter.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/duniter.maintain.svg)
2021-11-25 19:38:32 +01:00
[![Install Duniter with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=duniter)
*[Lire ce readme en français.](./README_fr.md)*
> *This package allows you to install Duniter quickly and simply on a YunoHost server.
If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.*
## Overview
Crypto-currency software to operate Ğ1 libre currency
**Shipped version:** 1.8.7~ynh0
2021-11-25 19:38:32 +01:00
## Screenshots
2022-08-17 20:54:41 +02:00
![Screenshot of Duniter](./doc/screenshots/duniter_admin_g1.png)
2021-11-25 19:38:32 +01:00
2022-03-12 16:56:04 +01:00
## Disclaimers / important information
2023-03-17 12:03:30 +01:00
## First synchronization
The first synchronization can be very time consuming, it can be considered to do it from the command line via ssh rather than via the graphical WEB interface. In order to let the synchronization be done without keeping the terminal window open connected in ssh, it is recommended to use `tmux` or `screen`. `screen -S duniter` in order to open a new "screen". In this screen called "duniter":
```
sudo systemctl stop duniter
sudo su - duniter -c "duniter --home \$HOME sync g1.duniter.org" && sudo systemctl start duniter
```
During the synchronization, you can press CTRL+SHIFT+a+d to exit without closing the "duniter" screen, you can then leave the ssh connection.
To come back to your "duniter" screen to see if the sync is finished, you have to run the command `screen -d duniter`
2022-03-12 16:56:04 +01:00
## Configurations
- In order to compute blocks you will have to set your member credentials with `sudo su - duniter -c "duniter --home \$HOME wizard key"` or from the webadmin.
2023-03-17 12:19:13 +01:00
- BMA, the client API is accessible from `https://duniter.domain.tld/bma/` if enabled . The last `/` is necessary to the proper functioning. This URL can be use in Cesium and Silkaj.
- The web administration interface is accessible via `https://duniter.domain.tld/` and is only accessible to the administrator specified at the installation.
2023-03-17 12:19:13 +01:00
- **Warning**: In case the Webui tells you your network configuration is wrong and proposes to correct it, do not apply it, otherwise it breaks the specific configuration made to the proper functioning this package.
In case you applied this correction, you can manually reset the configuration with following command:
`sudo su - duniter -c "duniter --home \$HOME config --bma --ipv4 127.0.0.1 --port CHOSEN_PORT --remoteh YOUR_DOMAIN --remotep 443 --noupnp"`
2022-03-12 16:56:04 +01:00
## Cesium
Cesium is a wallet webapp. You can install it with:
2023-03-17 12:19:13 +01:00
- [YunoHost app](https://github.com/YunoHost-Apps/cesium_ynh)
2021-11-25 19:38:32 +01:00
## Documentation and resources
2022-08-17 20:54:41 +02:00
* Official app website: <https://duniter.org>
* Upstream app code repository: <https://git.duniter.org/nodes/typescript/duniter>
* YunoHost documentation for this app: <https://yunohost.org/app_duniter>
* Report a bug: <https://github.com/YunoHost-Apps/duniter_ynh/issues>
2021-11-25 19:38:32 +01:00
## Developer info
Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/duniter_ynh/tree/testing).
To try the testing branch, please proceed like that.
2022-08-17 20:54:41 +02:00
``` bash
2021-11-25 19:38:32 +01:00
sudo yunohost app install https://github.com/YunoHost-Apps/duniter_ynh/tree/testing --debug
or
sudo yunohost app upgrade duniter -u https://github.com/YunoHost-Apps/duniter_ynh/tree/testing --debug
```
2022-08-17 20:54:41 +02:00
**More info regarding app packaging:** <https://yunohost.org/packaging_apps>