Note that we need at least postgresql v9.4

This commit is contained in:
Daniel Friesel 2019-04-22 07:22:53 +02:00
parent 970cb57c68
commit 2b54ecf7a9
2 changed files with 4 additions and 3 deletions

View file

@ -14,6 +14,7 @@ addons:
- libdb-dev
- libpq-dev
- libxml2-dev
postgresql: "9.4"
before_script:
- cp .travis.travelynx.conf travelynx.conf
- psql -c 'create database travelynx_ci_test;' -U postgres

View file

@ -45,9 +45,9 @@ Setup
---
First, you need to set up a PostgreSQL database so that travelynx can store
user accounts and journeys. Version 9.6 or later with UTF-8 locale (e.g.
`en_US.UTF-8`) should work fine. The following steps describe setup on a
Debian 9 system, though setup on other distribution should be similar.
user accounts and journeys. It must be at least version 9.4 and should use a
UTF-8 locale. The following steps describe setup on a Debian 9 system, though
setup on other distribution should be similar.
* Write down a strong random password
* Create a postgres user for travelynx: `sudo -u postgres createuser -P travelynx`