Find a file
JamPaladin 74476d6223
Add TheMotte theme and make it default.
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.
2022-05-09 07:29:31 -05:00
.github Delete codacy.yml 2022-02-27 07:41:20 -08:00
files Add TheMotte theme and make it default. 2022-05-09 07:29:31 -05:00
.editorconfig Add .editorconfig. 2022-05-08 23:14:58 -05:00
.gitattributes Convert text file line endings to LF. 2022-05-09 07:20:47 -05:00
.gitignore fsd 2022-04-29 16:02:52 +02:00
dependabot.yml Convert text file line endings to LF. 2022-05-09 07:20:47 -05:00
docker-compose.yml vc 2022-02-22 15:34:41 +02:00
Dockerfile Convert text file line endings to LF. 2022-05-09 07:20:47 -05:00
env Set static image for banner 2022-05-03 21:29:33 -05:00
imei.sh nxcv 2022-02-18 15:47:17 +02:00
LICENSE Convert text file line endings to LF. 2022-05-09 07:20:47 -05:00
pg_hba.conf Convert text file line endings to LF. 2022-05-09 07:20:47 -05:00
push.sh fdsfsd 2021-11-27 21:41:37 +02:00
pushforce.sh Convert text file line endings to LF. 2022-05-09 07:20:47 -05:00
readme.md Convert text file line endings to LF. 2022-05-09 07:20:47 -05:00
redis.conf Convert text file line endings to LF. 2022-05-09 07:20:47 -05:00
requirements.txt fixes and additions (#230) 2022-04-24 15:22:12 +02:00
schema.sql Remove hot posts button from mobile interface (#38) 2022-05-08 23:21:43 -05:00
seed-db.sql Convert text file line endings to LF. 2022-05-09 07:20:47 -05:00
site_settings.json sneed 2022-04-29 07:00:01 +00:00
snappy_PCM.txt gdfg 2022-03-31 18:28:53 +02:00
snappy_rDrama.txt sfd 2022-05-01 23:44:38 +02:00
supervisord.conf Convert text file line endings to LF. 2022-05-09 07:20:47 -05:00
ubuntu_setup vcx 2022-04-25 17:48:36 +02:00

This code runs https://rdrama.net and https://pcmemes.net

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.