From 28eb1a9691da8f56966827dc3a995fbd8a0f8d00 Mon Sep 17 00:00:00 2001 From: achauveheid Date: Wed, 29 Nov 2023 11:46:48 +0100 Subject: [PATCH] installation postgre --- requirement.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/requirement.txt b/requirement.txt index e69de29..444a405 100644 --- a/requirement.txt +++ b/requirement.txt @@ -0,0 +1,6 @@ +#insatallation postgresql +sudo sh -c 'echo "deb https://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 -y install postgresql +