From 41848b0d4ee2dbcd94f17febf16e05a542cdf2d3 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 25 May 2022 04:18:04 +0200 Subject: [PATCH] fsd --- requirements.txt | 1 + ubuntu_setup | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index ab7e6879d..e89519a02 100644 --- a/requirements.txt +++ b/requirements.txt @@ -21,6 +21,7 @@ qrcode redis requests SQLAlchemy +tinycss2 tldextract psycopg2-binary pusher_push_notifications diff --git a/ubuntu_setup b/ubuntu_setup index d71c31827..2b3965296 100644 --- a/ubuntu_setup +++ b/ubuntu_setup @@ -8,7 +8,7 @@ cp ./env /env . /env apt -y update apt -y upgrade -apt -y install git redis-server python3-pip libenchant1c2a ffmpeg tmux nginx snapd ufw +apt -y install git redis-server python3-pip libenchant1c2a ffmpeg tmux nginx snapd ufw gpg-agent 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 - @@ -16,9 +16,11 @@ apt -y update apt -y install postgresql-14 sudo rm /etc/postgresql/14/main/pg_hba.conf sudo cp pg_hba.conf /etc/postgresql/14/main/pg_hba.conf -chown postgres:postgres /etc/postgresql/14/main/pg_hba.conf service postgresql restart +chown postgres:postgres /etc/postgresql/14/main/pg_hba.conf +sudo rm /etc/nginx/sites-available -r +sudo rm /etc/nginx/sites-enabled/default # psql -U postgres -f schema.sql postgres # psql -U postgres -f seed-db.sql postgres pip3 install -r requirements.txt