From ac17b42302a330a8edd7b3a050990d3ff0d3347b Mon Sep 17 00:00:00 2001 From: Christine Cunningham <5705329+ccunningham101@users.noreply.github.com> Date: Fri, 17 Nov 2023 15:05:21 +0000 Subject: [PATCH 1/2] Add login permission --- DEVELOPERS.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DEVELOPERS.md b/DEVELOPERS.md index 56ede45..dca1e32 100644 --- a/DEVELOPERS.md +++ b/DEVELOPERS.md @@ -41,7 +41,7 @@ psql -U postgres -h localhost -c "CREATE DATABASE retractobot" On Linux, you'll need to create the user with relevant permissions: ``` psql -U postgres -h localhost -c " -CREATE ROLE retractobot PASSWORD 'PASSWORD HERE' NOSUPERUSER CREATEDB; +CREATE ROLE retractobot PASSWORD 'PASSWORD HERE' NOSUPERUSER CREATEDB LOGIN; GRANT ALL PRIVILEGES on database retractobot to retractobot; " ``` @@ -183,7 +183,7 @@ elsewhere for checking in different email clients. #### Do initial live batch This is the first pilot send of real mails. We do the run for the first 100 -authors (ordered by AUID). +authors (ordered by AUID). This command doesn't do any logging, as it is the raw internal command (so we can set limit). From 2b78d28e81a69cbd1236a40619da5e0a42c96d30 Mon Sep 17 00:00:00 2001 From: Christine Cunningham <5705329+ccunningham101@users.noreply.github.com> Date: Fri, 17 Nov 2023 15:05:47 +0000 Subject: [PATCH 2/2] Ignore log files --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 3ee28ed..dac19ca 100644 --- a/.gitignore +++ b/.gitignore @@ -107,3 +107,4 @@ venv/ debug-last-sent-mails.mbox live-all-sent-mails.mbox environment +**/*.log