1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-11-05 09:08:53 +01:00
ldapcherry/docs/install.rst
2015-07-20 01:48:37 +02:00

973 B

Install

From the sources

Download the latest release from GitHub.

$ tar -xf ldapcherry*.tar.gz
$ cd ldapcherry*
$ python setup.py install

From Pypi

$ pip install ldapcherry

or

$ easy_install ldapcherry 

Installed files

ldapCherry install directories are:

  • /etc/ldapcherry/ (configuration)
  • dist-package or site-packages of your distribution (LdapCherry modules)
  • /usr/share/ldapcherry/ (static content (css, js, images...) and templates)

These directories can be changed by exporting the following variables before launching the install command:

#optional, default sys.prefix + 'share' (/usr/share/ on most Linux)
$ export DATAROOTDIR=/usr/local/share/
#optional, default /etc/
$ export SYSCONFDIR=/usr/local/etc/