forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2021-09-14 05:51:09 +02:00
parent 5036a5001d
commit 24bc04d470
2 changed files with 7 additions and 5 deletions

7
env
View File

@ -29,10 +29,11 @@ export READ_ONLY="0"
export BOT_DISABLE="0"
export COINS_NAME="Dramacoins"
export DEFAULT_TIME_FILTER="all"
export DEFAULT_THEME="dark"
export DEFAULT_COLOR="ff66ac #YOU HAVE TO PICK ONE OF THOSE COLORS OR SHIT WILL BREAK: ff66ac, 805ad5, 62ca56, 38a169, 80ffff, 2a96f3, eb4963, ff0000, f39731, 30409f, 3e98a7, e4432d, 7b9ae4, ec72de, 7f8fa6, f8db58"
export SLOGAN="Dude bussy lmao"
export GUMROAD_TOKEN="3435tdfsdudebussylmaoxxt43"
export GUMROAD_LINK="https://marsey1.gumroad.com/l/tfcvri"
export CARD_VIEW="1"
export DISABLE_DOWNVOTES="0"
export DISABLE_DOWNVOTES="0"
export DEFAULT_THEME="dark"
export DEFAULT_COLOR="ff66ac"
// YOU HAVE TO PICK ONE OF THOSE COLORS OR SHIT WILL BREAK: ff66ac, 805ad5, 62ca56, 38a169, 80ffff, 2a96f3, eb4963, ff0000, f39731, 30409f, 3e98a7, e4432d, 7b9ae4, ec72de, 7f8fa6, f8db58

5
setup
View File

@ -13,5 +13,6 @@ sudo apt -y install python3-pip
sudo pip3 install -r requirements.txt
sudo apt -y install gunicorn
tmux
. ./env
sudo gunicorn files.__main__:app -k gevent -w 2 --reload -b 0.0.0.0:80 --reload-extra-file ./files/templates/ --max-requests 10000 --max-requests-jitter 500
cp ./env /env
. /env
gunicorn files.__main__:app -k gevent -w 2 --reload -b 0.0.0.0:80 --reload-extra-file ./files/templates/ --max-requests 10000 --max-requests-jitter 500