From 9bf26c4c899220162892d14e5162814b55cf49c6 Mon Sep 17 00:00:00 2001
From: Moul <moul@moul.re>
Date: Thu, 30 Mar 2017 21:16:54 +0200
Subject: [PATCH] =?UTF-8?q?[enh]=20#23:=C2=A0doc:=C2=A0provide=20virtual?=
 =?UTF-8?q?=20env=20installation=20process.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/doc/install_pyenv.md | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)
 create mode 100644 src/doc/install_pyenv.md

diff --git a/src/doc/install_pyenv.md b/src/doc/install_pyenv.md
new file mode 100644
index 00000000..a377df81
--- /dev/null
+++ b/src/doc/install_pyenv.md
@@ -0,0 +1,39 @@
+# 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
+```
-- 
GitLab