forked from rDrama/rDrama
1
0
Fork 0
 
 
 
 
 
 
Go to file
Snakes f0c9a354e9 Implement better double XP infrastructure.
Double XP now has a constant for unixtime to start. Logic around
DXP is designed to only apply to votes made after DOUBLE_XP_ENABLED.
This prevents an exploit in the old implementation where spam voting/
unvoting a post made prior to the DXP start could farm 300 DC/hr/alt.
Also it's more maintainable and comports with the coin_delta changes
to prevent self-vote coin changes.
2022-05-18 00:54:05 -04:00
.github Delete codacy.yml 2022-02-27 07:41:20 -08:00
files Implement better double XP infrastructure. 2022-05-18 00:54:05 -04:00
.gitattributes fds 2021-11-02 13:33:36 -07:00
.gitignore fsd 2022-04-29 16:02:52 +02:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2022-01-31 15:29:51 -08:00
Dockerfile Update Dockerfile 2022-03-01 16:14:08 -08:00
LICENSE fds 2021-11-02 13:33:36 -07:00
dependabot.yml fds 2021-11-02 13:33:36 -07:00
docker-compose.yml vc 2022-02-22 15:34:41 +02:00
env site settings 2022-04-12 21:05:50 +02:00
imei.sh nxcv 2022-02-18 15:47:17 +02:00
pg_hba.conf 1 2021-11-26 21:28:55 +02:00
push.sh gfd 2022-05-03 03:38:13 +02:00
pushforce.sh gfd 2022-05-03 03:38:13 +02:00
readme.md fixes and additions (#230) 2022-04-24 15:22:12 +02:00
redis.conf fsdfsd 2021-12-05 21:45:08 +02:00
requirements.txt fixes and additions (#230) 2022-04-24 15:22:12 +02:00
schema.sql sneed 2022-04-29 16:00:02 +00:00
seed-db.sql sfd 2022-05-01 23:44:38 +02: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 sneed 2022-05-03 00:00:02 +00:00
supervisord.conf devrama 2022-04-04 19:52:14 +02:00
ubuntu_setup vcx 2022-04-25 17:48:36 +02:00

readme.md

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.