forked from rDrama/rDrama
1
0
Fork 0
 
 
 
 
 
 
Go to file
Snakes 1c7458e111 Sanitize: modularize normalize_url, fix streamable.
Originally prompted by https://rdrama.net/post/18459/-/1984609 which
noticed that streamable.com/e/ links as posts would have another e/
added to them. This was in spite of logic in posts.py api_is_repost
and submit_post designed to specifically counteract this.
Proximal cause was a copypasta'd url.replace(...) chain which
caused the mistake before the streamable-specific logic had a chance
to avoid making it.

Solution: remove the streamable replacement from the chained statement
and create `helpers.normalize_url(url)` to get rid of the copypasta.
2022-05-25 04:43:16 -04:00
.github stole testing from mottechads 2022-05-17 23:09:36 +02:00
files Sanitize: modularize normalize_url, fix streamable. 2022-05-25 04:43:16 -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 stole testing from mottechads 2022-05-17 23:09:36 +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 fc 2022-05-18 20:45:04 +02:00
redis.conf mn 2022-05-05 01:09:46 +02:00
requirements.txt dfs 2022-05-25 04:36:36 +02:00
run_tests.py vdffsd 2022-05-23 00:45:04 +02:00
schema.sql sneed 2022-05-21 00:00:01 +00:00
seed-db.sql fsd 2022-05-13 13:17:11 +02:00
site_settings.json sneed 2022-05-25 04:00:02 +00:00
snappy_PCM.txt fg 2022-05-07 07:28:51 +02:00
snappy_rDrama.txt sneed 2022-05-24 17:00:01 +00:00
supervisord.conf mn 2022-05-05 01:09:46 +02:00
ubuntu_setup fsd 2022-05-25 04:18:04 +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 - If hosting on localhost and/or without HTTPS, change"SESSION_COOKIE_SECURE" in __main__.py to "False"

3- Run the following commands in the terminal:

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

cd rDrama

docker-compose up

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

5- 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.