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 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" }]