From 39e365ab9050b61c944622e1d53fe01c13705da9 Mon Sep 17 00:00:00 2001 From: Jin Dong Yang Date: Tue, 16 Jul 2019 10:11:10 +0800 Subject: [PATCH] more formatting changes --- README.md | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index d45e66a..8d4f2c7 100644 --- a/README.md +++ b/README.md @@ -10,25 +10,19 @@ However, please do the following as well (especially if you are running this loc

    -
  1. Environment Configured for the AWS User - -./aws/config and ./aws/credentials - configure them the same as AWS website asked you. - +
  2. Environment Configured for the AWS User +./aws/config and ./aws/credentials - configure them the same as AWS website asked you. Ensure that you have the correct permissions tagged to this user as well, primarily S3 and RDS access.
  3. -
  4. Postgres password file to bypass the need to keep on entering passwords - -~/.pgpass → chmod 600 - -Format: hostname:port:database:username:password - -https://www.postgresql.org/docs/10/libpq-pgpass.html - +
  5. Postgres password file to bypass the need to keep on entering passwords +~/.pgpass → chmod 600 +Format: hostname:port:database:username:password +https://www.postgresql.org/docs/10/libpq-pgpass.html If the username and password are going to be the same for all databases/host, you can simply put *:*:*:username:password If you are doing this on Lambda or EC2 instance, database and user credentials can be retrieved from the aws parameter store.
  6. -
  7. 3. Maintain the JSON file as per given in the example.json: Change the values with 'fake' in its name.
  8. +
  9. Maintain the JSON file as per given in the example.json: Change the values with 'fake' in its name.

@@ -43,7 +37,7 @@ I have created another way using Boto3 and Psycopg2, which now does not require

    -
  1. 1. Please install Boto3 and Psycopg2 as per instructed in the requirements.txt using pip install -r requirements.txt
  2. +
  3. Please install Boto3 and Psycopg2 as per instructed in the requirements.txt using pip install -r requirements.txt