This code runs https://www.themotte.org. Forked from https://github.com/Aevann1/rDrama
![]() I created a new theme, "TheMotte" in /assests/css. Someone with any design skill at all should try improving this. Currently it is a copy of light.css __main__.py defines the experience for a user without an account. I removed the check for an OS environment variable, and defaulted to the new theme. /classes/user.py defines the default for a new account. I removed the check for an OS environment variable, and defaulted to the new theme. /routes/settings.py has a list of the themes that checks them for... something. I added the new one here, just in case. /templates/settings_profile.html has a hardcoded list that controls which themes appear in the user settings page. Added the new theme here, so you can select it. |
||
---|---|---|
.github | ||
files | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
dependabot.yml | ||
docker-compose.yml | ||
Dockerfile | ||
env | ||
imei.sh | ||
LICENSE | ||
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 |
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.