Go to file
justcool393 83963470e8
user can_view functions (#460)
* user: move can_see_to user class

* stub out can_see in comments and posts

* make can_see a classmethod so it's usable for loggedoutfriends

* test

* kill me now

* threelargeclassesmating

* dfdfdfdfdfdfd

* sdsdsdsd

* classmethod should be above i think

* Revert "classmethod should be above i think"

This reverts commit df1772eb9e7e71bf7b89123f6277b648de2b1af3.

* Revert "Revert "classmethod should be above i think""

This reverts commit 32883406c2e2916fc6c436611376a1817c16cb84.

* test rewritnig thing

* go home python

* what the fuck python

* fix AttributeError

* sdsdsdsdsdsd

* lazy and user and stuff

* test

* Revert "test"

This reverts commit 45af5bb3d45f3ec17126ab117d494ec978062a38.

* merge

* newline

* test

* test 2

* Revert "test"

This reverts commit 196dae677e2ee8cd29261c93dcb747087cb399b6.

* revert test

* fix merge error

* fix import error ciruclation i think

* sdsd

* add type annotations back

* deleted_utc

* isinstance

* user_can_see in jinja and remove unnecessary things

* a bunch of stuff
remove can_see from comment and post
expand can_see to messages

* antiannoyingamountsofwhitespace

* fix for chudrama

* improve prev
2022-11-17 16:02:08 -05:00
.github Update dependabot.yml 2022-11-12 10:30:10 +02:00
chat chat: prevent vertical spam 2022-11-16 08:56:50 -06:00
files user can_view functions (#460) 2022-11-17 16:02:08 -05:00
.gitattributes convert repo from CRLF to LF 2022-10-04 17:24:58 +02:00
.gitignore Chat rework deployment infra fixes. 2022-09-24 00:26:44 -04:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2022-01-31 15:29:51 -08:00
Dockerfile add nginx to docker 2022-10-04 21:48:52 +02:00
LICENSE mn 2022-05-05 01:09:46 +02:00
docker-compose.yml tweak env again 2022-10-10 11:06:27 +02:00
env switch from hcaptcha to turnstile 2022-11-11 20:34:06 +02:00
gunicorn.conf.py show url and method again 2022-11-17 10:41:56 -06:00
nginx-serve-static.conf add nginx to docker 2022-10-04 21:48:52 +02:00
nginx.conf small nginx change 2022-10-30 02:59:33 +02:00
pg_hba.conf mn 2022-05-05 01:09:46 +02:00
readme.md readme: SneedBot sneeds 2022-11-17 10:07:49 -06:00
requirements.txt fix: requirements.txt to reduce vulnerabilities (#449) 2022-11-14 19:24:57 +02:00
run_tests.py convert repo from CRLF to LF 2022-10-04 17:24:58 +02:00
schema.sql sneed 2022-11-14 07:43:53 +00:00
seed-db.sql sneed 2022-11-15 23:52:46 +00:00
snappy_PCM.txt WIP: Add Casino (Do Not Merge) (#341) 2022-09-04 22:53:34 +02:00
snappy_rDrama.txt sneed 2022-11-16 06:20:48 +00:00
startup.sh remove `git pull` from startup scripts 2022-10-13 20:20:54 +02:00
startup_chat.sh remove `git pull` from startup scripts 2022-10-13 20:20:54 +02:00
startup_docker.sh potential solution to the chat docker problem 2022-10-13 20:21:02 +02:00
supervisord.conf add nginx to docker 2022-10-04 21:48:52 +02:00
ubuntu_setup.sh stop merge commits 2022-10-21 13:33:56 +02:00

readme.md

Build status

This code runs https://rdrama.net, https://pcmemes.net and https://watchpeopledie.tv

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 and make an account (the first account to be made will have full admin rights)

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, 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 SneedBot meaning that the sql file was regenerated.