master
Aevann1 2021-09-06 01:36:38 +02:00
parent c0d744d760
commit 4a622a7093
2 changed files with 3 additions and 2 deletions

5
setup
View File

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