forked from rDrama/rDrama
This code runs https://rdrama.net and https://watchpeopledie.tv
c7ba75516b
* Switch to marsey.cat for Snappy /u/. camas is down, replacing it with search.marsey.cat. Note that when looking for existing Snappy comments to test against, it appears that something else with Snappy generation is broken. Ex: /post/66263/-/1876803 puts an entire post URL in the author field. This commit makes no attempt to fix this. TODO for later. * Fix Snappy body /u/ extracting author from post URL. Following up on 1137996f0fe7: Issue was that author was being extracted from post.url, not href. Given that the relevant code section is specifically for /u/s in the body text of the submission, this was a problem. |
||
---|---|---|
.github | ||
files | ||
.gitattributes | ||
.gitignore | ||
CODE_OF_CONDUCT.md | ||
Dockerfile | ||
LICENSE | ||
dependabot.yml | ||
docker-compose.yml | ||
env | ||
imei.sh | ||
pg_hba.conf | ||
push.sh | ||
pushforce.sh | ||
readme.md | ||
redis.conf | ||
requirements.txt | ||
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 and https://pcmemes.net
Installation (Windows/Linux/MacOS)
1- Install Docker on your machine.
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.