Blockstream / greenlight

Build apps using self-custodial lightning nodes in the cloud
https://blockstream.github.io/greenlight/getting-started/
MIT License
109 stars 27 forks source link

Additional build instructions #491

Open Sjors opened 1 month ago

Sjors commented 1 month ago

It's not very clear currently how to build this.

The instructions here only describe dependencies, but not the actual build process: https://github.com/Blockstream/greenlight/tree/main/libs/gl-client-py

After looking through some other issues and trial and error, I think you need to do (tried with PyEnv, and avoiding virtual env stuff):

cd libs/gl-client-py
maturin build
cd ../..
cd target/wheels
pip3 install target/wheels/*.whl
cd ../../tools/glcli
pip install .

For general sanity it would be nice if there was a way to just build the Rust application and avoid Python environment hell.