forked from rDrama/rDrama
1
0
Fork 0
This code runs https://rdrama.net and https://watchpeopledie.tv and toys with my heart. More themes. Hoo-fucking-ray.
 
 
 
 
 
 
Go to file
Snakes 4ba2098612 Rate limiter: whitelist admins.
Due to presently hitting perpetual 429s after a mishap with lottery
polling on production, among past events where admins have gotten
rate-limited for doing otherwise normal admin behavior, the
flask_limiter.Limiter now has a request filter to whitelist JL2+.
Despite running on every request, I don't anticipate this undermining
the DoS prevention power of the Limiter.

It is yet unknown whether there are edge cases where running
get_logged_in_user in a different spot in the request pipeline might
e.g. subtly break the logged-in counters. This is not expected at
present, however.
2022-05-30 23:01:18 -04:00
.github stole testing from mottechads 2022-05-17 23:09:36 +02:00
files Rate limiter: whitelist admins. 2022-05-30 23:01:18 -04:00
.gitattributes mn 2022-05-05 01:09:46 +02:00
.gitignore fsd 2022-05-18 21:29:07 +02:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2022-01-31 15:29:51 -08:00
Dockerfile big ass commit 2022-05-23 00:15:29 +02:00
LICENSE mn 2022-05-05 01:09:46 +02:00
dependabot.yml mn 2022-05-05 01:09:46 +02:00
docker-compose.yml cxz 2022-05-28 00:58:01 +02:00
env site settings 2022-04-12 21:05:50 +02:00
imei.sh nxcv 2022-02-18 15:47:17 +02:00
pg_hba.conf mn 2022-05-05 01:09:46 +02:00
readme.md sdf 2022-05-27 23:34:01 +02:00
redis.conf mn 2022-05-05 01:09:46 +02:00
requirements.txt sfd 2022-05-26 22:32:06 +02:00
run_tests.py vdffsd 2022-05-23 00:45:04 +02:00
schema.sql sneed 2022-05-30 09:40:22 +00:00
seed-db.sql Revert "Add Y'all Seein' Eye award." 2022-05-26 02:51:42 +02:00
site_settings.json sneed 2022-05-25 11:14:01 +00:00
snappy_PCM.txt fg 2022-05-07 07:28:51 +02:00
snappy_rDrama.txt sneed 2022-05-26 03:00:02 +00:00
supervisord.conf mn 2022-05-05 01:09:46 +02:00
ubuntu_setup cxz 2022-05-28 00:58:01 +02:00

readme.md

Build status

This code runs https://rdrama.net, https://pcmemes.net, https://cringetopia.org, and https://watchpeopledie.co

Installation (Windows/Linux/MacOS)

1- Install Docker on your machine.

Docker installation

2- Run the following commands in the terminal:

git clone https://github.com/Aevann1/rDrama/

cd rDrama

docker-compose up

3- That's it! Visit localhost in your browser.

4- Optional: to change the domain from "localhost" to something else and configure the site settings, as well as integrate it with the external services the website uses, please edit the variables in the env file and then restart the docker container.