From 4e53ce9a5d40d76024648f1989e981dd168af6bb Mon Sep 17 00:00:00 2001 From: thomas Date: Sun, 28 Feb 2021 22:37:22 +0000 Subject: [PATCH] add postgres script in comment --- librephotos.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/librephotos.sh b/librephotos.sh index c41040a..fde9f47 100644 --- a/librephotos.sh +++ b/librephotos.sh @@ -1,7 +1,11 @@ #!/bin/bash #Requirement # -DEBIAN 11 - +# +# - Postgres database +# CREATE USER librephoto WITH PASSWORD 'bovCevIrwomNeOgceshteudhekCubyosogvoanFaSokyodvonIgEnOyRabZypVam'; +# CREATE DATABASE "librephoto" WITH OWNER "librephoto" ENCODING 'UTF8' LC_COLLATE = 'fr_FR.UTF-8' LC_CTYPE = 'fr_FR.UTF-8' TEMPLATE template0; +# GRANT ALL privileges ON DATABASE librephoto TO librephoto; set -ex apt install --no-install-recommends -y \