mise à jour de la documentation
This commit is contained in:
parent
631c5e8caf
commit
8a4c2fbee2
22
readme.md
22
readme.md
|
@ -93,22 +93,36 @@ The main clients for Duniter are [Cesium](https://cesium.app/) and [Silkaj](http
|
||||||
|
|
||||||
## With docker (experimental)
|
## With docker (experimental)
|
||||||
|
|
||||||
First you need to build docker image
|
### variables
|
||||||
|
|
||||||
|
SSB_PATH : this is important variable to locate your ssb db path and secret file don't forget to set that.
|
||||||
|
if you use patchwork or other project please *copy all directory other location* because a
|
||||||
|
lock file is create when a patchwork or other projet run and ssb-server cannot run.
|
||||||
|
|
||||||
|
|
||||||
|
First you need to build docker image.
|
||||||
|
|
||||||
```
|
```
|
||||||
docker-compose build
|
SSB_PATH=~/your-copy-ssb/ docker-compose build
|
||||||
```
|
```
|
||||||
|
|
||||||
create your dunikey
|
create your dunikey
|
||||||
|
|
||||||
```
|
```
|
||||||
docker-compose run --rm -v ~/.ssb:/home/astroport/.ssb ssb-g1like_secret2dunikey
|
SSB_PATH=~/your-copy-ssb/ docker-compose up -d tip # only you need to run tiping part
|
||||||
|
SSB_PATH=~/your-copy-ssb/ docker-compose up -d # if you need to run all platform
|
||||||
```
|
```
|
||||||
|
|
||||||
run main tip script
|
run main tip script
|
||||||
|
|
||||||
```
|
```
|
||||||
docker-compose run --rm -v ~/.ssb:/home/astroport/.ssb ssb-g1like_tip
|
container_id=$(docker ps -a -q --filter="ancestor=ssb-g1like_tip") && docker exec -ti $container_id bash -c "/home/astroport/tip"
|
||||||
|
```
|
||||||
|
|
||||||
|
For display thank you file
|
||||||
|
|
||||||
|
```
|
||||||
|
container_id=$(docker ps -a -q --filter="ancestor=ssb-g1like_tip") && docker cp $container_id:/home/astroport/your_thank.md ~ && docker exec -ti $container_id bash -c "rm -rf /home/astroport/your_thank.md"
|
||||||
```
|
```
|
||||||
|
|
||||||
## Authors
|
## Authors
|
||||||
|
|
Loading…
Reference in New Issue