Note that we need at least postgresql v9.4
This commit is contained in:
parent
970cb57c68
commit
2b54ecf7a9
2 changed files with 4 additions and 3 deletions
|
@ -14,6 +14,7 @@ addons:
|
||||||
- libdb-dev
|
- libdb-dev
|
||||||
- libpq-dev
|
- libpq-dev
|
||||||
- libxml2-dev
|
- libxml2-dev
|
||||||
|
postgresql: "9.4"
|
||||||
before_script:
|
before_script:
|
||||||
- cp .travis.travelynx.conf travelynx.conf
|
- cp .travis.travelynx.conf travelynx.conf
|
||||||
- psql -c 'create database travelynx_ci_test;' -U postgres
|
- psql -c 'create database travelynx_ci_test;' -U postgres
|
||||||
|
|
|
@ -45,9 +45,9 @@ Setup
|
||||||
---
|
---
|
||||||
|
|
||||||
First, you need to set up a PostgreSQL database so that travelynx can store
|
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.
|
user accounts and journeys. It must be at least version 9.4 and should use a
|
||||||
`en_US.UTF-8`) should work fine. The following steps describe setup on a
|
UTF-8 locale. The following steps describe setup on a Debian 9 system, though
|
||||||
Debian 9 system, though setup on other distribution should be similar.
|
setup on other distribution should be similar.
|
||||||
|
|
||||||
* Write down a strong random password
|
* Write down a strong random password
|
||||||
* Create a postgres user for travelynx: `sudo -u postgres createuser -P travelynx`
|
* Create a postgres user for travelynx: `sudo -u postgres createuser -P travelynx`
|
||||||
|
|
Loading…
Reference in a new issue