Merge pull request #80 from cosmicpsyop/feature/freebsd-support-two

feature/freebsd-support-two: add build goal to README. optimize 'pkg install' manifest
This commit is contained in:
Doug Hoyte
2023-12-16 11:01:15 -05:00
committed by GitHub

View File

@ -29,12 +29,23 @@ Either the full set of messages in the DB can be synced, or the results of one o
A C++20 compiler is required, along with a few other common dependencies. On Debian/Ubuntu use these commands: A C++20 compiler is required, along with a few other common dependencies. On Debian/Ubuntu use these commands:
#### Linux
sudo apt install -y git build-essential libyaml-perl libtemplate-perl libregexp-grammars-perl libssl-dev zlib1g-dev liblmdb-dev libflatbuffers-dev libsecp256k1-dev libzstd-dev sudo apt install -y git build-essential libyaml-perl libtemplate-perl libregexp-grammars-perl libssl-dev zlib1g-dev liblmdb-dev libflatbuffers-dev libsecp256k1-dev libzstd-dev
git clone https://github.com/hoytech/strfry && cd strfry/ git clone https://github.com/hoytech/strfry && cd strfry/
git submodule update --init git submodule update --init
make setup-golpe make setup-golpe
make -j4 make -j4
#### FreeBSD
pkg install -y gcc gmake cmake git perl5 openssl lmdb flatbuffers libuv libinotify zstr secp256k1 zlib-ng p5-Regexp-Grammars p5-Module-Install-Template p5-YAML
git clone https://github.com/hoytech/strfry && cd strfry/
git submodule update --init
gmake setup-golpe
gmake -j4
### Running a relay ### Running a relay
Here is how to run the relay: Here is how to run the relay: