From bd79f3127d2d258c36a67532f8d8c76bbfc1effe Mon Sep 17 00:00:00 2001
From: Moul <moul@moul.re>
Date: Sun, 1 Jun 2025 10:57:44 +0200
Subject: [PATCH] readme: Add missing dependency installation

Other cosmetic fixes
---
 README.md | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md
index ffc2e2f..60e3745 100644
--- a/README.md
+++ b/README.md
@@ -15,7 +15,7 @@ docker image push h30x/py-g1-migrator
 
 ## Dev
 
-On your Duniter node
+On a Duniter v1.8 node:
 
 ```sh
 # create temporary directory
@@ -28,18 +28,18 @@ tar -cvzf /tmp/backup-g1-duniter-1.8.7.tgz /tmp/backup-g1-duniter-1.8.7
 mv /tmp/backup-g1-duniter-1.8.7.tgz /var/www/files.coinduf.eu
 ```
 
-In your `py-g1-migrator` folder
-
+In your `py-g1-migrator` folder:
 
 ```sh
 # fetch database dump, extract, and move to your input folder
 curl https://files.coinduf.eu/backup-g1-duniter-1.8.7.tgz -o inputs/g1-dump.tgz
-tar xvzf inputs/g1-dump.tgz  -C inputs
+tar xvzf inputs/g1-dump.tgz -C inputs
 mv inputs/tmp/backup-g1-duniter-1.8.7 inputs/duniter_default
 
 # use a python virtual environment, install requirements, and set env var to tell where the database is
 python -m venv env
 source ./env/bin/activate
+sudo apt install libleveldb-dev
 pip install -r requirements.txt
 export LEVELDB_PATH="./inputs/duniter_default/data/leveldb" 
 # --- MAIN ---
-- 
GitLab