Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 967 Bytes

install_poetry.md

File metadata and controls

41 lines (32 loc) · 967 Bytes

Install Silkaj in a development environement with Poetry

Install libsodium

sudo apt install libsodium23 # Debian Buster
sudo apt install libsodium18 # Debian Stretch
sudo dnf install libsodium # Fedora

Install Poetry

On Debian Buster

sudo apt install python3-pip python3-venv
sudo apt install libffi-dev # Required on ARMbian
pip3 install poetry --user

Install dependencies and the Python environment

git clone https://git.duniter.org/clients/python/silkaj
cd silkaj
poetry install

Run Silkaj

Within silkaj repository run Silkaj:

poetry run silkaj

You might need to enter Poetry shell to access development tools such as pytest or black.

Make Silkaj accessible from everywhere

Add following alias to your shell configuration:

alias silkaj="cd /path/to/silkaj/silkaj && poetry run silkaj"