From 87019c8a8d5ef2161f914810f4567dd048b0398e Mon Sep 17 00:00:00 2001 From: Ivan Folgueira Bande Date: Thu, 9 Jan 2025 21:21:26 +0100 Subject: [PATCH] better golang example readme --- examples/golang/README.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/examples/golang/README.md b/examples/golang/README.md index 72c7a8288..39d488293 100644 --- a/examples/golang/README.md +++ b/examples/golang/README.md @@ -2,15 +2,27 @@ ## Pre-requisite libwaku.so is needed to be compiled and present in build folder. To create it: -1. Run only the first time and after changing the current commit +- Run only the first time and after changing the current commit ```code make update ``` -2. Run the next every time you want to compile libwaku +- Run the next every time you want to compile libwaku ```code make POSTGRES=1 libwaku -j4 ``` +Also needed: + +- Install libpq (needed by Postgres client) + - On Linux: +```code +sudo apt install libpq5 +``` + - On MacOS (not tested) +```code +brew install libpq +``` + ## Compilation From the nwaku root folder: