G1sms/silkaj/doc/install_pyenv.md

789 B

Install Silkaj on a Python environment

Install Pyenv

Install pyenv tools

curl -L https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash

Handle shell modifications: point 2,3 and 4.

Install latest Python version and create pyenv

pyenv install 3.6.0
pyenv shell 3.6.0
pyenv virtualenv silkaj-env

Install Silkaj

Retrieve silkaj sources

git clone https://github.com/duniter/silkaj.git
cd silkaj

Install dependencies and store them on pyenv environement

pip install -r requirements.txt --upgrade
pyenv rehash

Activate pyenv and run silkaj

pyenv activate silkaj-env
./silkaj