Carpathian Consultancy fork for friendship & tolerance
 
 
 
 
 
 
Go to file
Snakes 69dec16f55 Shop badge discount: fix Spender, add Roller disc.
The shop discount from Big Spender badges was incorrectly implemented:
intended behavior was for 2pp per badge. However, the values in
const.py were set as if a user could only have one Spender badge at
once, while user.py @ discount was implemented as if they were
additive. Since users factually do have multiple big spender badges,
the values in const were adjusted to reflect this fact.

Also, lootbox Roller badges now each offer a 1pp discount.
users.py @ discount was improved to check against the `discounts`
keys for appropriate badges, rather than a hardcoded list.
2022-05-19 13:41:04 -04:00
.github Delete codacy.yml 2022-02-27 07:41:20 -08:00
files Shop badge discount: fix Spender, add Roller disc. 2022-05-19 13:41:04 -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.