Difference between revisions of "Suez"

From PlebNet Wiki
Jump to navigation Jump to search
(Prepared the page for translation)
 
Line 1: Line 1:
<languages/>
<translate>
Suez is a “Tool for pretty printing and optimizing Lightning Network channels.”.
Suez is a “Tool for pretty printing and optimizing Lightning Network channels.”.


Line 11: Line 13:
     mkdir -p ~/src
     mkdir -p ~/src
     cd ~/src
     cd ~/src


=== Cloning from Git ===
=== Cloning from Git ===
Line 20: Line 23:
     git clone https://github.com/prusnak/suez.git
     git clone https://github.com/prusnak/suez.git
     cd suez
     cd suez


=== Python & Poetry ===
=== Python & Poetry ===
Line 27: Line 31:
     python3 —version
     python3 —version
     pip3 install poetry
     pip3 install poetry


=== Installing dependencies and running suez ===
=== Installing dependencies and running suez ===
Line 34: Line 39:
     poetry install
     poetry install
     poetry run ./suez
     poetry run ./suez
</translate>

Latest revision as of 19:52, 2 October 2021

Suez is a “Tool for pretty printing and optimizing Lightning Network channels.”.


Suez tui.png


Installation

A good place to save third party software on your node is the ~/src directory.

   mkdir -p ~/src
   cd ~/src


Cloning from Git

We’ll need to clone the code from github, this is done using git. So let’s first make sure we have git installed:

   sudo apt-get install git -y
   git —version
   git clone https://github.com/prusnak/suez.git
   cd suez


Python & Poetry

Suez is implemented in Python3, and uses ‘poetry’ for its dependencies. Python3 is the default python version if you’re running Ubuntu >= 20.04.

   python3 —version
   pip3 install poetry


Installing dependencies and running suez

At this point you should be able to complete the last 2 steps:

   poetry install
   poetry run ./suez