2021-07-22 20:48:13 +00:00
|
|
|
sudo apt update
|
2021-09-05 23:02:15 +00:00
|
|
|
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
|
|
|
|
sudo systemctl restart redis.service
|
2021-09-05 23:16:26 +00:00
|
|
|
apt install python3-pip
|
2021-09-05 23:02:15 +00:00
|
|
|
sudo pip3 install -r requirements.txt
|
2021-09-05 23:27:28 +00:00
|
|
|
cp env /env
|
2021-09-05 23:15:32 +00:00
|
|
|
apt install gunicorn
|
|
|
|
gunicorn files.__main__:app -k gevent -w 2 --reload -b 0.0.0.0:80 --reload-extra-file ./files/templates/
|