forked from MarseyWorld/MarseyWorld
das
parent
baef602163
commit
86290dbcaf
|
@ -0,0 +1,36 @@
|
|||
export DATABASE_URL="postgresql://postgres@localhost:5432"
|
||||
export MASTER_KEY="3435tdfsdudebussylmaoxxt43"
|
||||
export DOMAIN="localhost"
|
||||
export SITE_NAME="Drama"
|
||||
export GIPHY_KEY="3435tdfsdudebussylmaoxxt43"
|
||||
export DISCORD_SERVER_ID="3435tdfsdudebussylmaoxxt43"
|
||||
export DISCORD_CLIENT_ID="3435tdfsdudebussylmaoxxt43"
|
||||
export DISCORD_CLIENT_SECRET="3435tdfsdudebussylmaoxxt43"
|
||||
export DISCORD_BOT_TOKEN="3435tdfsdudebussylmaoxxt43"
|
||||
export HCAPTCHA_SECRET="3435tdfsdudebussylmaoxxt43"
|
||||
export YOUTUBE_KEY="3435tdfsdudebussylmaoxxt43"
|
||||
export PUSHER_ID="3435tdfsdudebussylmaoxxt43"
|
||||
export PUSHER_KEY="3435tdfsdudebussylmaoxxt43"
|
||||
export IMGUR_KEY="3435tdfsdudebussylmaoxxt43"
|
||||
export SPAM_SIMILARITY_THRESHOLD="0.5"
|
||||
export SPAM_URL_SIMILARITY_THRESHOLD="0.1"
|
||||
export SPAM_SIMILAR_COUNT_THRESHOLD="10"
|
||||
export COMMENT_SPAM_SIMILAR_THRESHOLD="0.5"
|
||||
export COMMENT_SPAM_COUNT_THRESHOLD="10"
|
||||
export READ_ONLY="0"
|
||||
export BOT_DISABLE="0"
|
||||
export DEFAULT_TIME_FILTER="all"
|
||||
export SLOGAN="Dude bussy lmao"
|
||||
export GUMROAD_TOKEN="3435tdfsdudebussylmaoxxt43"
|
||||
export GUMROAD_LINK="https://marsey1.gumroad.com/l/tfcvri"
|
||||
export GUMROAD_ID="tfcvri"
|
||||
export CARD_VIEW="1"
|
||||
export DISABLE_DOWNVOTES="0"
|
||||
export DUES="0"
|
||||
export DEFAULT_THEME="midnight"
|
||||
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 MAIL_USERNAME="blahblahblah@gmail.com"
|
||||
export MAIL_PASSWORD="3435tdfsdudebussylmaoxxt43"
|
||||
export DESCRIPTION="rdrama.net caters to drama in all forms such as: Real life, videos, photos, gossip, rumors, news sites, Reddit, and Beyond™. There isn't drama we won't touch, and we want it all!"
|
||||
export CF_KEY="3435tdfsdudebussylmaoxxt43"
|
||||
export CF_ZONE="3435tdfsdudebussylmaoxxt43"
|
|
@ -86,7 +86,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<script data-cfasync="false" src="/static/assets/js/emoji_modal.js?a=240"></script>
|
||||
<script data-cfasync="false" src="/static/assets/js/emoji_modal.js?a=241"></script>
|
||||
|
||||
<style>
|
||||
a.emojitab {
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
cd /drama
|
||||
sudo apt update
|
||||
sudo apt -y upgrade
|
||||
sudo apt -y install postgresql postgresql-contrib
|
||||
sudo apt -y install redis-server
|
||||
cp pg_hba.conf /etc/postgresql/13/main/pg_hba.conf
|
||||
sudo service postgresql restart
|
||||
sudo psql -U postgres -f schema.sql postgres
|
||||
sudo psql -U postgres -f seed-db.sql postgres
|
||||
sudo apt -y install python3-pip
|
||||
sudo pip3 install -r requirements.txt
|
||||
sudo apt -y install gunicorn
|
||||
sudo apt -y install ffmpeg
|
||||
mkdir /songs
|
||||
mkdir /images
|
||||
cp ./env.sh /env.sh
|
||||
. /env.sh
|
||||
sudo -E gunicorn files.__main__:app -k gevent -w 2 --reload -b localhost:80 --max-requests 1000 --max-requests-jitter 500
|
Loading…
Reference in New Issue