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