Skip to content

Commit 58394f2

Browse files
authored
Remove pgrouting v2 from README, updated commands
1 parent 3027d59 commit 58394f2

File tree

1 file changed

+25
-38
lines changed

1 file changed

+25
-38
lines changed

README.md

Lines changed: 25 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,6 @@ There are several versions available:
4343
- [3.0.1 with Postgres 11 + PostGIS 3.0](11-3.0-3.0.1/). Docker image: `pgrouting/pgrouting:11-3.0-3.0.1`
4444
- [3.0.0 with Postgres 12 + PostGIS 3.0](12-3.0-3.0.0/). Docker image: `pgrouting/pgrouting:12-3.0-3.0.0`
4545
- [3.0.0 with Postgres 11 + PostGIS 3.0](11-3.0-3.0.0/). Docker image: `pgrouting/pgrouting:11-3.0-3.0.0`
46-
- With pgRouting v2:
47-
- [2.6.3 with Postgres 12 + PostGIS 3.0](12-3.0-2.6.3/). Docker image: `pgrouting/pgrouting:12-3.0-2.6.3`
48-
- [2.6.3 with Postgres 11 + PostGIS 2.5](11-2.5-2.6.3/). Docker image: `pgrouting/pgrouting:11-2.5-2.6.3`
49-
- [2.6.3 with Postgres 10 + PostGIS 2.5](10-2.5-2.6.3/). Docker image: `pgrouting/pgrouting:10-2.5-2.6.3`
50-
- [2.6.2 with Postgres 11 + PostGIS 2.5](11-2.5-2.6.2/). Docker image: `pgrouting/pgrouting:11-2.5-2.6.2`
51-
- [2.6.2 with Postgres 10 + PostGIS 2.5](10-2.5-2.6.2/). Docker image: `pgrouting/pgrouting:10-2.5-2.6.2`
52-
- [2.6.1 with Postgres 11 + PostGIS 2.5](11-2.5-2.6.1/). Docker image: `pgrouting/pgrouting:11-2.5-2.6.1`
53-
- [2.6.1 with Postgres 10 + PostGIS 2.5](10-2.5-2.6.1/). Docker image: `pgrouting/pgrouting:10-2.5-2.6.1`
5446
- With pgRouting master branch (*):
5547
- [master branch with Postgres 13 + PostGIS 3.1](13-3.0-develop/). Docker image: `pgrouting/pgrouting:13-3.0-master`
5648
- [master branch with Postgres 12 + PostGIS 3.1](12-3.0-develop/). Docker image: `pgrouting/pgrouting:12-3.0-master`
@@ -68,25 +60,25 @@ There are several versions available:
6860

6961
`{PostgreSQL major}-{PostGIS major}-{pgRouting version}`
7062

71-
Tag for pgRouting 2.6.3 with PostgreSQL 12 and PostGIS 3.0:
63+
Tag for pgRouting 3.2.0 with PostgreSQL 13 and PostGIS 3.1:
7264

73-
`pgrouting/pgrouting:12-3.0-2.6.3`
65+
`pgrouting/pgrouting:13-3.1-3.2.0`
7466

7567
## How to use
7668

7769
### Running pgRouting with Docker compose
7870

7971
Run postgres database:
8072
```
81-
$ cd 12-3.0-2.6.3
73+
$ cd 13-3.1-3.2.0
8274
$ docker-compose up
8375
```
8476

8577
### Running pgRouting without Docker compose
8678

8779
Run postgres database:
8880
```
89-
$ docker run --name pgrouting -p 5432:5432 pgrouting/pgrouting:12-3.0-2.6.3
81+
$ docker run --name pgrouting -p 5432:5432 pgrouting/pgrouting:13-3.1-3.2.0
9082
```
9183

9284
## How to build images
@@ -102,50 +94,45 @@ $ docker build -t pgrouting/pgrouting:13-3.0-master .
10294
Example:
10395

10496
```
105-
$ docker-compose exec postgis psql -h localhost -U postgres
106-
psql (12.3 (Debian 12.3-1.pgdg100+1))
97+
psql (13.3 (Debian 13.3-1.pgdg100+1))
10798
Type "help" for help.
10899
109-
postgres=#
110-
111-
postgres@localhost ~>create database test;
100+
postgres=# create database test;
112101
CREATE DATABASE
113-
114-
postgres@localhost ~>\c test
102+
postgres=# \c test
115103
You are now connected to database "test" as user "postgres".
116-
postgres@localhost test>create extension postgis;
104+
test=# create extension postgis;
117105
CREATE EXTENSION
118-
119-
postgres@localhost test>create extension pgrouting ;
106+
test=# create extension pgrouting;
120107
CREATE EXTENSION
121-
122-
postgres@localhost test>select version();
123-
version
124-
------------------------------------------------------------------------------------------------------
125-
PostgreSQL 12.3 (Debian 12.3-1.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
108+
test=# select version();
109+
version
110+
------------------------------------------------------------------------------------------------------------------
111+
PostgreSQL 13.3 (Debian 13.3-1.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
126112
(1 row)
127113
128-
postgres@localhost test>select pgr_version();
129-
pgr_version
130-
-------------------------------------------
131-
3.1.0
114+
test=# select pgr_version();
115+
pgr_version
116+
-------------
117+
3.2.0
132118
(1 row)
133119
134-
postgres@localhost test>select postgis_full_version();
135-
postgis_full_version
136-
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
137-
------------------------------
138-
POSTGIS="3.0.1 ec2a9aa" [EXTENSION] PGSQL="120" GEOS="3.7.1-CAPI-1.11.1 27a5e771" PROJ="Rel. 5.2.0, September 15th, 2018" LIBXML="2.9.4" LIBJSON="0.12.1" LIBPROTOBUF="1.3.1" WAGYU="0.4.3 (Internal)"
120+
test=# select postgis_full_version();
121+
postgis_full_version
122+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
123+
POSTGIS="3.1.2 cbe925d" [EXTENSION] PGSQL="130" GEOS="3.7.1-CAPI-1.11.1 27a5e771" PROJ="Rel. 5.2.0, September 15th, 2018" LIBXML="2.9.4" LIBJSON="0.12.1" LIBPROTOBUF="1.3.1" WAGYU="0.5.0 (Internal)"
139124
(1 row)
125+
126+
test=#
140127
```
141128

142129
## Develop
143130

144131
To make new version for example `x.x.x`, run following:
145132

146133
```
147-
mkdir 12-3.0-x.x.x
148-
touch 12-3.0-x.x.x/Dockerfile
134+
mkdir 13-3.1-x.x.x
135+
touch 13-3.1-x.x.x/Dockerfile
149136
make update
150137
```
151138

0 commit comments

Comments
 (0)