Refactor bukuserver manual install steps

This commit is contained in:
Arun Prakash Jana 2018-11-01 19:35:18 +05:30
parent 0f44341945
commit 2a69d5252d
No known key found for this signature in database
GPG Key ID: A75979F35C080412

View File

@ -3,8 +3,9 @@
### Table of Contents ### Table of Contents
- [Installation](#installation) - [Installation](#installation)
- [Installing dependencies](#installing-dependencies) - [Dependencies](#dependencies)
- [Installing from PyPi](#installing-from-pypi) - [From PyPi](#from-pypi)
- [From source](#from-source)
- [Webserver options](#webserver-options) - [Webserver options](#webserver-options)
- [Configuration](#configuration) - [Configuration](#configuration)
- [Screenshots](#screenshots) - [Screenshots](#screenshots)
@ -14,22 +15,27 @@
You need to have some packages before you install `bukuserver` on your server. 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. 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 --upgrade pip
$ python3 -m pip install --user virtualenv $ python3 -m pip install --user virtualenv
$ python3 -m virtualenv env $ python3 -m virtualenv env
$ source env/bin/activate $ source env/bin/activate
```
#### From PyPi
$ pip3 install buku[server]
#### From source
```
$ git clone https://github.com/jarun/Buku $ git clone https://github.com/jarun/Buku
$ cd Buku $ cd Buku
$ pip3 install .[server] $ pip3 install .[server]
``` ```
#### Installing from PyPi
$ pip3 install buku[server]
### Webserver options ### Webserver options
To run the server on host 127.0.0.1, port 5001, run following command: To run the server on host 127.0.0.1, port 5001, run following command: