forked from rDrama/rDrama
1
0
Fork 0
 
 
 
 
 
 
Go to file
justcool393 be6fa59e13 fix host bug, do a absolute redirect instead of a relative one, and make wpdco page essentially static 2022-10-17 18:40:09 -05:00
.github/workflows sneed 2022-10-17 18:58:15 +02:00
chat
files fix host bug, do a absolute redirect instead of a relative one, and make wpdco page essentially static 2022-10-17 18:40:09 -05:00
.gitattributes
.gitignore
CODE_OF_CONDUCT.md
Dockerfile
LICENSE
dependabot.yml
docker-compose.yml tweak env again 2022-10-10 11:06:27 +02:00
env sneed 2022-10-17 18:58:15 +02:00
gunicorn.conf.py
nginx-serve-static.conf add nginx to docker 2022-10-04 21:48:52 +02:00
nginx.conf same as last commit 2022-10-10 07:33:14 +02:00
pg_hba.conf
readme.md ripbozo 2022-10-17 21:13:33 +02:00
requirements.txt use mailgun again 2022-10-08 02:44:02 +02:00
run_tests.py
schema.sql sneed 2022-10-14 16:00:08 +00:00
seed-db.sql sneed 2022-10-17 17:02:25 +00:00
snappy_PCM.txt
snappy_rDrama.txt sneed 2022-10-17 17:02:25 +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
ubuntu_setup.sh potential solution to the chat docker problem 2022-10-13 20:21:02 +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 [1] and do docker-compose up. Also wait five minutes for a "sneed" commit from Aevann meaning that the sql file was regenerated.

[1] For command line users, this can be achieved by running docker rm CONTAINER and docker volume rm VOLUME. If you want to remove all docker containers and volumes at once, you can run docker rm $(docker ps -a -q) && docker volume rm $(docker volume ls -q), but please keep in mind that this will remove ALL docker environments, not just rDrama