forked from rDrama/rDrama
master
parent
c0d744d760
commit
4a622a7093
5
setup
5
setup
|
@ -1,12 +1,13 @@
|
||||||
|
cd /drama
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt upgrade
|
sudo apt upgrade
|
||||||
sudo apt install postgresql postgresql-contrib
|
sudo apt install postgresql postgresql-contrib
|
||||||
sudo apt install redis-server
|
sudo apt install redis-server
|
||||||
rm /etc/redis/redis.conf
|
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
|
sudo systemctl restart redis.service
|
||||||
rm /etc/postgresql/12/main/pg_hba.conf
|
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
|
apt install python3-pip
|
||||||
sudo pip3 install -r requirements.txt
|
sudo pip3 install -r requirements.txt
|
||||||
cp env /env
|
cp env /env
|
||||||
|
|
Loading…
Reference in New Issue