Skip to content
Snippets Groups Projects
Commit 821c64e1 authored by Moul's avatar Moul Committed by GitHub
Browse files

Merge pull request #40 from duniter/pyenv_doc

[enh] #23: doc: provide virtual env installation process.
parents ecd47386 9bf26c4c
No related branches found
No related tags found
No related merge requests found
# Install Silkaj on a Python environment
## Install Pyenv
### Retrieve pyenv sources
```bash
git clone https://github.com/pyenv/pyenv.git ~/.pyenv
```
### Handle shell modifications: point 2,3 and 4.
- [Follow pyenv install documentation](https://github.com/pyenv/pyenv#installation)
### Install latest Python version and create pyenv
```bash
pyenv install 3.6.0
pyenv shell 3.6.0
pyenv virtualenv silkaj-env
```
## Install Silkaj
### Retrieve silkaj sources
```bash
git clone https://github.com/duniter/silkaj.git
cd silkaj
```
### Install dependencies and store them on pyenv environement
```bash
pip install -r requirements.txt --upgrade
pyenv rehash
```
### Activate pyenv and run silkaj
```bash
pyenv activate silkaj-env
./silkaj
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment