From 3a3a25b9b1da2466787c2c2af606d4391023f4c6 Mon Sep 17 00:00:00 2001 From: guille Date: Thu, 26 Jan 2023 11:10:15 -0500 Subject: [PATCH 1/2] release 0.1.7.1 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index a61cfe8b..5654e145 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta" [project] name = "cerc_hub" -version = "0.1.7" +version = "0.1.7.1" description = "CERC Hub consist in a set of classes (Central data model), importers and exporters to help researchers to create better and sustainable cities" readme = "README.md" authors = [{ name = "Guillermo Gutierrez", email = "Guillermo.GutierrezMorote@concordia.ca" }] From 2823e6a1fcf8846827d1fca701369fa8bd188718 Mon Sep 17 00:00:00 2001 From: guille Date: Fri, 27 Jan 2023 05:26:44 -0500 Subject: [PATCH 2/2] 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