update deployment documentation

This commit is contained in:
Guille Gutierrez 2023-01-27 05:26:44 -05:00
parent 3a3a25b9b1
commit 2823e6a1fc
2 changed files with 17 additions and 7 deletions

View File

@ -1,5 +1,21 @@
## Installing PostgreSQL Database Server on Linux (Ubuntu) ## ## 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.* *NB: PostgreSQL DB Server runs on a default port of 5432.*
## Installing PostgreSQL Database Server on Windows ## ## Installing PostgreSQL Database Server on Windows ##

View File

@ -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