From 2a69d5252d4573b2b38c5f953b6d19f539c13095 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Thu, 1 Nov 2018 19:35:18 +0530 Subject: [PATCH] Refactor bukuserver manual install steps --- bukuserver/README.md | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/bukuserver/README.md b/bukuserver/README.md index fed8533..a6ee8bb 100644 --- a/bukuserver/README.md +++ b/bukuserver/README.md @@ -3,8 +3,9 @@ ### Table of Contents - [Installation](#installation) - - [Installing dependencies](#installing-dependencies) - - [Installing from PyPi](#installing-from-pypi) + - [Dependencies](#dependencies) + - [From PyPi](#from-pypi) + - [From source](#from-source) - [Webserver options](#webserver-options) - [Configuration](#configuration) - [Screenshots](#screenshots) @@ -14,22 +15,27 @@ You need to have some packages before you install `bukuserver` on your server. So be sure to have `python3`, `python3-pip` , `python3-dev`, `libffi-dev` packages from your distribution. -#### Installing dependencies +#### Dependencies ``` $ python3 -m pip install --user --upgrade pip $ python3 -m pip install --user virtualenv $ python3 -m virtualenv env $ source env/bin/activate +``` + +#### From PyPi + + $ pip3 install buku[server] + +#### From source + +``` $ git clone https://github.com/jarun/Buku $ cd Buku $ pip3 install .[server] ``` -#### Installing from PyPi - - $ pip3 install buku[server] - ### Webserver options To run the server on host 127.0.0.1, port 5001, run following command: