forked from rDrama/rDrama
This code runs https://rdrama.net and https://watchpeopledie.tv
Prior to this comment, the every-1d cron.py command was broken due to lack of proper stats import. However, while refactoring this, it was convenient to move other recurring tasks that had been stuffed in odd places--not least `stats(...)`--into the new cron system. This entailed a number of refactorings of other things. 1. Move stats(...) from static.py to helpers/stats.py. 2. Move hole inactivity purge task from stats(...) to routes/subs.py. 3. Move bot award timer checks from stats(...) to helpers/awards.py. 4. Unify award timer logic formerly in routes/front.py into the new helpers/awards.py. |
||
---|---|---|
.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.