Silkaj

Silkaj est un client en ligne de commande pour Duniter. Il est écrit en Python.

L'installation de Silkaj est encore un peu fastidieuse, l'outil étant encore un version de développement, bien qu'utilisable.

Jytou a détaillé son installation.

simon@deb:~/Programmes$ sudo apt install python3-pip
 
simon@deb:~/Programmes$ sudo python3.6 -m pip install --upgrade pip
 
simon@deb:~/Programmes$ sudo python3.6 -m pip install pynacl
 
simon@deb:~/Programmes$ sudo python3.6 -m pip install pipenv
 
simon@deb:~/Programmes$ git clone https://github.com/duniter/silkaj.git
 
simon@deb:~/Programmes$ cd siljak/
 
simon@deb:~/Programmes/silkaj$ pipenv silkaj 
 
simon@deb:~/Programmes/silkaj$ pipenv install
 
Creating a virtualenv for this project...
Pipfile: /home/simon/Programmes/silkaj/Pipfile
Using /usr/bin/python3.6 (3.6.6) to create virtualenv...
⠋Already using interpreter /usr/bin/python3.6
Using base prefix '/usr'
New python executable in /home/simon/.local/share/virtualenvs/silkaj-zPbJsobl/bin/python3.6
Also creating executable in /home/simon/.local/share/virtualenvs/silkaj-zPbJsobl/bin/python
Installing setuptools, pip, wheel...done.
Setting project for silkaj-zPbJsobl to /home/simon/Programmes/silkaj
 
Virtualenv location: /home/simon/.local/share/virtualenvs/silkaj-zPbJsobl
requirements.txt found, instead of Pipfile! Converting...
Warning: Your Pipfile now contains pinned versions, if your requirements.txt did. 
We recommend updating your Pipfile to specify the "*" version, instead.
Pipfile.lock not found, creating...
Locking [dev-packages] dependencies...
Locking [packages] dependencies...
Updated Pipfile.lock (ebe2e7)!
Installing dependencies from Pipfile.lock (ebe2e7)...
  🐍   ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 9/9 — 00:00:06
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.
 
simon@deb:~/Programmes/silkaj$ pipenv shell
Launching subshell in virtual environment…
  . /home/simon/.local/share/virtualenvs/silkaj-zPbJsobl/bin/activate
 
(silkaj-zPbJsobl) simon@deb:~/Programmes/silkaj$ ./silkaj 
Silkaj: command line Duniter client     
(...)
  • silkaj.txt
  • Dernière modification: 2018/09/01 17:39
  • par simon