From 2823e6a1fcf8846827d1fca701369fa8bd188718 Mon Sep 17 00:00:00 2001 From: guille Date: Fri, 27 Jan 2023 05:26:44 -0500 Subject: [PATCH] update deployment documentation --- hub/DEPLOYMENT.md | 18 +++++++++++++++++- hub/install_postgresql_linux.sh | 6 ------ 2 files changed, 17 insertions(+), 7 deletions(-) delete mode 100755 hub/install_postgresql_linux.sh diff --git a/hub/DEPLOYMENT.md b/hub/DEPLOYMENT.md index 4bbc1788..cd62a903 100644 --- a/hub/DEPLOYMENT.md +++ b/hub/DEPLOYMENT.md @@ -1,5 +1,21 @@ ## Installing PostgreSQL Database Server on Linux (Ubuntu) ## -Execute the *install_postgresql_linux.sh* script to install PostgreSQL database + +In the terminal, add the key to the keyring + +` +sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' +wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - +` + +Update your repositories with + +`sudo apt-get update` + +Install postgresql + +` +sudo apt-get install postgresql +` *NB: PostgreSQL DB Server runs on a default port of 5432.* ## Installing PostgreSQL Database Server on Windows ## diff --git a/hub/install_postgresql_linux.sh b/hub/install_postgresql_linux.sh deleted file mode 100755 index 70088df0..00000000 --- a/hub/install_postgresql_linux.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' -wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - -sudo apt-get update -sudo apt-get install postgresql \ No newline at end of file