Skip to content

Commit

Permalink
Add 'Installation' section to the README
Browse files Browse the repository at this point in the history
Fixes #6.
  • Loading branch information
Totktonada committed Mar 25, 2019
1 parent 62e59c9 commit 2010afe
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
--------------------------------------

* [Overview](#overview)
* [Installation](#installation)
* [API reference](#api-ref)
* [zookeper.init()](#zk-init)
* [zookeeper.zerror()](#zk-zerror)
Expand Down Expand Up @@ -42,6 +43,28 @@ ZooKeeper is a distributed application for managing and coordinating a large num

[Back to TOC](#toc)

## <a name="installation"></a>Installation

Using a package manager (CentOS, Fedora, Debian, Ubuntu):

* [Add][tarantool_repo] a tarantool repository.
* Install tarantool-zookeeper package.

Using tarantoolctl rocks:

* Install dependencies:
- CentOS / Fedora: tarantool-devel, zookeeper-native
([full list][deps_centos]).
- Debian / Ubuntu: tarantool-dev, libzookeeper-st-dev, libzookeeper-st2
([full list][deps_debian]).
* tarantoolctl rocks install zookeeper

[Back to TOC](#toc)

[tarantool_repo]: https://tarantool.io/en/download/
[deps_centos]: https://github.com/tarantool/zookeeper/blob/master/rpm/tarantool-zookeeper.spec#L9-L16
[deps_debian]: https://github.com/tarantool/zookeeper/blob/master/debian/control#L5-L15

## <a name="api-ref"></a>API reference
--------------------------------------

Expand Down
23 changes: 23 additions & 0 deletions README_ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
-------------------------------

* [Что такое ZooKeeper](#overview)
* [Установка](#installation)
* [Справочник по API](#api-ref)
* [zookeeper.init()](#zk-init)
* [zookeeper.zerror()](#zk-zerror)
Expand Down Expand Up @@ -51,6 +52,28 @@ ZooKeeper - это распределенное приложение для уп

[К содержанию](#toc)

## <a name="installation"></a>Установка

С помощью пакетного менеджера (CentOS, Fedora, Debian, Ubuntu):

* [Добавить][tarantool_repo] репозиторий tarantool.
* Установить пакет tarantool-zookeeper.

С помощью tarantoolctl rocks:

* Установить зависимости:
- CentOS / Fedora: tarantool-devel, zookeeper-native
([полный список][deps_centos]).
- Debian / Ubuntu: tarantool-dev, libzookeeper-st-dev, libzookeeper-st2
([полный список][deps_debian]).
* tarantoolctl rocks install zookeeper

[К содержанию](#toc)

[tarantool_repo]: https://tarantool.io/ru/download/
[deps_centos]: https://github.com/tarantool/zookeeper/blob/master/rpm/tarantool-zookeeper.spec#L9-L16
[deps_debian]: https://github.com/tarantool/zookeeper/blob/master/debian/control#L5-L15

## <a name="api-ref"></a>Справочник по API
------------------------------------------

Expand Down

0 comments on commit 2010afe

Please sign in to comment.