Skip to content

Commit 0ff398d

Browse files
committed
update postgres version in README
1 parent 24b804c commit 0ff398d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ pip3 install virtualenv
7171
Install system dependencies (method depends on OS):
7272
- postgresql headers (for psycopg2):
7373

74-
- OpenBSD: pkg_add postgresql-client-11
74+
- OpenBSD: pkg_add postgresql-client-16
7575
- Debian: libpq-dev
76-
- FreeBSD: databases/postgresql11-client
76+
- FreeBSD: databases/postgresql16-client
7777
- macOS: If using the PostgreSQL.app, the headers are included, only path needs to be added
7878
- libjpeg (for pdf generation)
7979
- OpenBSD: pkg_add jpeg
@@ -106,7 +106,7 @@ Install pip packages:
106106

107107
#### Postgres
108108

109-
You need to have a running Postgres instance (sqlite or mysql or others can't be used, because we use Postgres-specific fields and PostGIS/GeoDjango). Install Postgres and PostGIS, and add a database `bornhack` (or whichever you like) with some way for the application to connect to it, for instance adding a user with a password. Connect to the database as a superuser and run `create extension postgis`. The postgres version in production is 12 and the postgis version in production is 2.5. The minimum postgres version is 10, because we use GIST indexes on uuid fields (for ExclusionConstraints). You might also need `create extension btree_gist`, again as a superuser.
109+
You need to have a running Postgres instance (sqlite or mysql or others can't be used, because we use Postgres-specific fields and PostGIS/GeoDjango). Install Postgres and PostGIS, and add a database `bornhack` (or whichever you like) with some way for the application to connect to it, for instance adding a user with a password. Connect to the database as a superuser and run `create extension postgis`. The postgres version in production is 16 and the postgis version in production is 3.5. The minimum postgres version is 14. You will also need `create extension btree_gist`, again as a superuser.
110110

111111
#### Configuration file
112112

0 commit comments

Comments
 (0)