remotes/1693045480750635534/spooky-22
Aevann1 2022-05-24 17:54:52 +02:00
parent bbd851210e
commit 5b007c2cc7
1 changed files with 9 additions and 3 deletions

View File

@ -2,11 +2,17 @@ update-locale LANG=en_US.utf8
cd /rDrama
cp ./env /env
. /env
apt update
apt -y update
apt -y upgrade
apt -y install git postgresql postgresql-contrib redis-server python3-pip libenchant1c2a ffmpeg tmux nginx snapd ufw
cp pg_hba.conf /etc/postgresql/12/main/pg_hba.conf
apt -y install git redis-server python3-pip libenchant1c2a ffmpeg tmux nginx snapd ufw
sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
apt -y update
apt -y install postgresql-14
cp pg_hba.conf /etc/postgresql/14/main/pg_hba.conf
service postgresql restart
# psql -U postgres -f schema.sql postgres
# psql -U postgres -f seed-db.sql postgres
pip3 install -r requirements.txt