forked from rDrama/rDrama
1
0
Fork 0
 
 
 
 
 
 
Go to file
TLSM 63d344c2d0 Add badge quantity and rarity to /badges. (#238)
Implements feature request to know how many of each badge exists and
to have a 'rarity', a la Steam or PSN badges, relative to number of
non-lurker users.

Because Postgres `COUNT()`s are notoriously costly, /badges has been
memoized for 1hr to avoid a DOS target.
2022-05-02 20:14:06 +02:00
.github Delete codacy.yml 2022-02-27 07:41:20 -08:00
files Add badge quantity and rarity to /badges. (#238) 2022-05-02 20:14:06 +02: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 fdsfsd 2021-11-27 21:41:37 +02:00
pushforce.sh fdsfsd 2021-11-27 21:41:37 +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 sfd 2022-05-01 23:44:38 +02: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.