Carpathian Consultancy fork for friendship & tolerance
 
 
 
 
 
 
Go to file
Snakes 6ad935e12a Permission flags UI visibility; start PERMS dict.
Original work started for WPD and LGB, who wish to restrict flags
visibility in the UI based on admin_level. To support this change and
upcoming changes, `const.PERMS: string -> int` was created.
Potentially targetting a future design where Permissions is a proper
business object integrated with the User model; however, for now just
looking toward getting admin_level magic numbers centralized.

This commit applies PERMS to: create_hole, flags visibility in UI,
flag removal in UI & backend. Flag visibility in Comment & Submission
json_raw methods is unaffected to avoid needing a user object to
build the JSON.
2022-07-06 23:45:33 -04:00
.github stole testing from mottechads 2022-05-17 23:09:36 +02:00
files Permission flags UI visibility; start PERMS dict. 2022-07-06 23:45:33 -04:00
sql Poll rework (#312) 2022-07-02 08:48:04 +02:00
.gitattributes mn 2022-05-05 01:09:46 +02:00
.gitignore fix exceptions in sanitize leaving SIGALRM on 2022-07-06 04:46:00 -04:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2022-01-31 15:29:51 -08:00
Dockerfile big ass commit 2022-05-23 00:15:29 +02:00
LICENSE mn 2022-05-05 01:09:46 +02:00
dependabot.yml mn 2022-05-05 01:09:46 +02:00
docker-compose.yml testing our unit test 2022-06-29 05:01:52 +02:00
env support newer version of docker-compose 2022-06-09 23:48:29 +02:00
imei.sh nxcv 2022-02-18 15:47:17 +02:00
pg_hba.conf mn 2022-05-05 01:09:46 +02:00
readme.md add how to fix common problems for returning contributors (#309) 2022-06-30 16:21:58 -04:00
redis.conf mn 2022-05-05 01:09:46 +02:00
requirements.txt sfd 2022-05-26 22:32:06 +02:00
run_tests.py replace spaces with tabs 2022-06-13 20:33:25 +02:00
schema.sql sneed 2022-07-06 02:00:02 +00:00
seed-db.sql Poll rework (#312) 2022-07-02 08:48:04 +02:00
site_settings.json sneed 2022-05-25 11:14:01 +00:00
snappy_PCM.txt reduce snappy's "!slots" chance 2022-06-19 23:23:13 +02:00
snappy_rDrama.txt delete odd snappy quote 2022-06-26 06:55:01 +02:00
supervisord.conf mn 2022-05-05 01:09:46 +02:00
ubuntu_setup.sh 2 new lines in ubuntu_setup 2022-07-02 00:48:01 +02:00

readme.md

Build status

This code runs https://rdrama.net, https://pcmemes.net, https://cringetopia.org, and https://watchpeopledie.co

Installation (Windows/Linux/MacOS)

1- Install Docker on your machine.

Docker installation

2- Run the following commands in the terminal:

git clone https://github.com/Aevann1/rDrama/

cd rDrama

docker-compose up

3- That's it! Visit localhost in your browser.

4- 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.


For returning contributors, we have noticed the following issues (if you can help fix them, we will be very grateful!):

  1. Docker doesn't know when we add a new Python dependency, docker-compose build is needed.
  2. DB schema changes are not applied automatically, the easiest way to deal with that is to delete the entire environment from the Docker GUI and do docker-compose up. Also wait five minutes for a "sneed" commit from Aevann meaning that the sql file was regenerated.
  3. Old authorization cookies from the previous instance cause a weird 404 error, clear cookies for localhost to fix.