added missing packages : gettext and python-psycopg2, and fixed some README wording (#21998)

This commit is contained in:
Elias 2018-02-20 17:38:33 +01:00
parent fa96ac7a7b
commit f15b1c785a
2 changed files with 8 additions and 5 deletions

View File

@ -15,12 +15,13 @@ Install dependencies
.. code-block:: bash
pip install --user -r requirements.txt
source ~/.profile
System requirements
+++++++++++++++++++
* postgresql server must be installed
* postgresql server (version 9.x is adviced) must be installed
* the system's user running the install.yml playbook must be a sudoer
* configure postgresql in order to have this configuration:
@ -28,14 +29,14 @@ System requirements
* postgresql must have a postgres user authorized to connect and create a db.
* please edit /etc/postgresql/[INSTALLED VERSION]/main/pg_hba.conf and add these lines (if not present):
First line allows postgres user to have all privileges on locahost
Second line allows to have the system's user mapped to postgresql username and its own database with the same name
.. code-block:: configuration
local all postgres trust
local all all peer
First line allows postgres user to have all privileges on locahost
Second line allows to have the system's user mapped to postgresql username and its own database with the same name
Configure local DNS
-------------------

View File

@ -14,6 +14,8 @@
- python-lasso
- python-pip
- python-virtualenv
- python-psycopg2
- gettext
- rabbitmq-server
- ruby-sass
- supervisor
@ -26,7 +28,7 @@
- name: create the virtualenv and install django
pip:
name: django
version: "{{ django_version}}"
version: "{{django_version}}"
virtualenv: "{{venv}}"
- name: "create {{src_dir}} directory"