forked from rDrama/rDrama
1
0
Fork 0
 
 
 
 
 
 
Go to file
TLSM c7ba75516b Switch to marsey.cat for Snappy /u/. (#251)
* Switch to marsey.cat for Snappy /u/.

camas is down, replacing it with search.marsey.cat.
Note that when looking for existing Snappy comments to test against,
it appears that something else with Snappy generation is broken.

Ex: /post/66263/-/1876803 puts an entire post URL in the author field.
This commit makes no attempt to fix this. TODO for later.

* Fix Snappy body /u/ extracting author from post URL.

Following up on 1137996f0fe7:
Issue was that author was being extracted from post.url, not href.
Given that the relevant code section is specifically for /u/s in the
body text of the submission, this was a problem.
2022-05-09 01:50:39 +02:00
.github Delete codacy.yml 2022-02-27 07:41:20 -08:00
files Switch to marsey.cat for Snappy /u/. (#251) 2022-05-09 01:50:39 +02:00
.gitattributes mn 2022-05-05 01:09:46 +02: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 mn 2022-05-05 01:09:46 +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 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 mn 2022-05-05 01:09:46 +02:00
push.sh gfd 2022-05-03 03:38:13 +02:00
pushforce.sh mn 2022-05-05 01:09:46 +02:00
readme.md mn 2022-05-05 01:09:46 +02:00
redis.conf mn 2022-05-05 01:09:46 +02:00
requirements.txt dup 2022-05-04 05:14:14 +02:00
schema.sql sneed 2022-04-29 16:00:02 +00:00
seed-db.sql fg 2022-05-07 07:28:51 +02:00
site_settings.json sneed 2022-05-06 05:00:01 +00:00
snappy_PCM.txt fg 2022-05-07 07:28:51 +02:00
snappy_rDrama.txt sfd 2022-05-08 11:06:01 +02:00
supervisord.conf mn 2022-05-05 01:09:46 +02:00
ubuntu_setup fsd 2022-05-04 23:32:30 +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.