diff --git a/README.md b/README.md index 810c2394..eefca5a9 100644 --- a/README.md +++ b/README.md @@ -77,8 +77,15 @@ Install latest **pm2** with : | ``-d``| Run container in background and print container ID| - To Get the running log of the docker container created - `` docker logs --follow myPostgresDb`` -- To Get into postgreSQL Shell - -`` docker exec -it myPostgresDb bash`` +- To Get into postgreSQL Shell (There are two ways this can be done) - + - First get into docker shell using - `` docker exec -it myPostgresDb bash`` +
Then get into postgreSQL shell using - `` psql -U postgresUser postgresDB`` + + OR + + - Alternatively postgres shell can also be assessed directly (without getting into the docker shell) - + `` psql -U postgresUser -d postgresDB -p 5455 -h localhost`` + and put in ``postgresPW`` when prompted for password. - After logging into postgreSQL shell follow the [Post-Installation](https://github.com/apache/age#post-installation) instruction to create a graph in the database. ### Connect Apache Age-Viewer to PostgreSQL Database **Initial Connection Layout**