forked from rDrama/rDrama
This code runs https://rdrama.net and https://watchpeopledie.tv
Embedded local posts (posts which link to posts on the same site) embed the linked post using submission_listing.html via helpers/jinja2:post_embed. This suffered from much the same issue recently fixed in submission.html through the addition of `v_forbid_deleted` in the template before outputting privileged information. A similar fix has been applied to submission_listing. Unfortunately, this is not the most elegant fix. Surely this would be better resolved more centrally in the submission model. However, I am not clear at present about the precise interaction between deletion, removal, and realbody & realurl in all of the different places they are used. This commit fixes the problem, but it also highlights a potential future refactoring target. |
||
---|---|---|
.github | ||
files | ||
.gitattributes | ||
.gitignore | ||
CODE_OF_CONDUCT.md | ||
Dockerfile | ||
LICENSE | ||
dependabot.yml | ||
docker-compose.yml | ||
env | ||
imei.sh | ||
pg_hba.conf | ||
readme.md | ||
redis.conf | ||
requirements.txt | ||
run_tests.py | ||
schema.sql | ||
seed-db.sql | ||
site_settings.json | ||
snappy_PCM.txt | ||
snappy_rDrama.txt | ||
supervisord.conf | ||
ubuntu_setup |
readme.md
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.
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.