From 2aee23f5f1883249415804cecfcf4252325f0806 Mon Sep 17 00:00:00 2001 From: munmud Date: Sun, 25 Dec 2022 15:45:24 +0600 Subject: [PATCH 1/2] docker Instruction added for accessing Postgres shell --- README.md | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b243c49d3..d2ae4abf3 100644 --- a/README.md +++ b/README.md @@ -138,8 +138,7 @@ You can use a package management
```bash -sudo apt install postgresql - +sudo apt install postgresql ```

 Install From Source Code @@ -180,9 +179,8 @@ make PG_CONFIG=/path/to/postgres/bin/pg_config install ```bash docker pull apache/age - ``` -

Create AGE docker container
+
Create age docker container for first time
```bash docker run \ @@ -195,7 +193,23 @@ docker run \ apache/age ``` +
Or Run docker container if you previously worked with age container
+ +```bash +docker start age +``` + +
Access CLI for running age container
+```bash +docker exec -it age /bin/bash +``` + +
Access Postgres shell
+ +```bash +psql -U postgresUser postgresDB +```

  Post Installation

From e558c390ad898a241e7a8fd8c44a81ecaa0ac91d Mon Sep 17 00:00:00 2001 From: munmud Date: Tue, 27 Dec 2022 06:53:42 +0600 Subject: [PATCH 2/2] Capitilize word: AGE in title --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d2ae4abf3..f8d27ee5e 100644 --- a/README.md +++ b/README.md @@ -180,7 +180,7 @@ make PG_CONFIG=/path/to/postgres/bin/pg_config install ```bash docker pull apache/age ``` -
Create age docker container for first time
+
Create AGE docker container for first time
```bash docker run \ @@ -193,13 +193,13 @@ docker run \ apache/age ``` -
Or Run docker container if you previously worked with age container
+
Or Run docker container if you previously worked with AGE container
```bash docker start age ``` -
Access CLI for running age container
+
Access CLI for running AGE container
```bash docker exec -it age /bin/bash