master
Aevann1 2021-11-14 04:12:42 +02:00
parent 12e140ad2c
commit 44fee6b36e
2 changed files with 2 additions and 0 deletions

View File

@ -64,6 +64,7 @@ def notifications(v):
if x.read and index > 24: break
elif not x.read:
x.read = True
c.unread = True
g.db.add(x)
listing.append(c.id)

1
setup
View File

@ -12,6 +12,7 @@ sudo pip3 install -r requirements.txt
sudo apt -y install gunicorn
sudo apt -y install ffmpeg
mkdir /songs
mkdir /images
cp ./env /env
. /env
gunicorn files.__main__:app -k gevent -w 2 --reload -b 127.0.0.1:80 --max-requests 1000 --max-requests-jitter 500