From 4a622a70933a48d3721979e88e897d2556ecfb60 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 6 Sep 2021 01:36:38 +0200 Subject: [PATCH] gf --- pg.hba.conf => pg_hba.conf | 0 setup | 5 +++-- 2 files changed, 3 insertions(+), 2 deletions(-) rename pg.hba.conf => pg_hba.conf (100%) diff --git a/pg.hba.conf b/pg_hba.conf similarity index 100% rename from pg.hba.conf rename to pg_hba.conf diff --git a/setup b/setup index 8eac00bd1..2ec35c9b3 100644 --- a/setup +++ b/setup @@ -1,12 +1,13 @@ +cd /drama sudo apt update sudo apt upgrade sudo apt install postgresql postgresql-contrib sudo apt install redis-server rm /etc/redis/redis.conf -cp /drama/redis.conf /etc/redis/redis.conf +cp redis.conf /etc/redis/redis.conf sudo systemctl restart redis.service rm /etc/postgresql/12/main/pg_hba.conf -cp /drama/pg_hba.conf /etc/postgresql/12/main/pg_hba.conf +cp pg_hba.conf /etc/postgresql/12/main/pg_hba.conf apt install python3-pip sudo pip3 install -r requirements.txt cp env /env