# HG changeset patch # User Mads Kiilerich # Date 2019-08-12 10:54:01 # Node ID 3a3d96dbd445ca6cd98025e97e565cd667c4895a # Parent d9e37f7fd35b1ad99ea6cc1611decde93a821f1c docs: clean up installation of optional dependencies Install them together with Kallithea, to make things simpler, and make sure all constraints are handled correctly. diff --git a/docs/contributing.rst b/docs/contributing.rst --- a/docs/contributing.rst +++ b/docs/contributing.rst @@ -35,7 +35,7 @@ To get started with Kallithea developmen virtualenv ../kallithea-venv source ../kallithea-venv/bin/activate pip install --upgrade pip setuptools - pip install --upgrade -e . -r dev_requirements.txt + pip install --upgrade -e . -r dev_requirements.txt python-ldap python-pam kallithea-cli config-create my.ini kallithea-cli db-create -c my.ini --user=user --email=user@example.com --password=password --repos=/tmp kallithea-cli front-end-build diff --git a/docs/installation.rst b/docs/installation.rst --- a/docs/installation.rst +++ b/docs/installation.rst @@ -88,15 +88,6 @@ An additional benefit of virtualenv_ is will "activate" a shell that terminates immediately. It is also perfectly acceptable (and desirable) to create a virtualenv as a normal user. -.. note:: Some dependencies are optional. If you need them, install them in - the virtualenv too:: - - pip install --upgrade psycopg2 - pip install --upgrade python-ldap - - This might require installation of development packages using your - distribution's package manager. - - Make a folder for Kallithea data files, and configuration somewhere on the filesystem. For example:: @@ -106,8 +97,16 @@ An additional benefit of virtualenv_ is pip install --upgrade kallithea +.. note:: Some dependencies are optional. If you need them, install them in + the virtualenv too:: + + pip install --upgrade kallithea python-ldap python-pam psycopg2 + + This might require installation of development packages using your + distribution's package manager. + Alternatively, download a .tar.gz from http://pypi.python.org/pypi/Kallithea, - extract it and run:: + extract it and install from source by running:: pip install --upgrade .