Find a file
2022-05-14 02:12:55 -05:00
.github Delete codacy.yml 2022-02-27 07:41:20 -08:00
files Initial e2e testing 2022-05-13 02:55:29 -05:00
.dockerignore Add a .dockerignore to make builds faster and smaller. 2022-05-14 02:12:55 -05:00
.editorconfig Add .editorconfig. 2022-05-08 23:14:58 -05:00
.gitattributes Convert text file line endings to LF. 2022-05-09 07:20:47 -05:00
.gitignore Initial e2e testing 2022-05-13 02:55:29 -05:00
dependabot.yml Add trailing LF to text files 2022-05-10 21:05:51 -04:00
docker-compose.yml Initial e2e testing 2022-05-13 02:55:29 -05:00
Dockerfile Convert text file line endings to LF. 2022-05-09 07:20:47 -05:00
env Set static image for banner 2022-05-03 21:29:33 -05:00
LICENSE Convert text file line endings to LF. 2022-05-09 07:20:47 -05:00
pg_hba.conf Add trailing LF to text files 2022-05-10 21:05:51 -04:00
readme.md Add a script to do all the work of running tests. 2022-05-13 13:04:09 -05:00
redis.conf Convert text file line endings to LF. 2022-05-09 07:20:47 -05:00
requirements.txt Initial e2e testing 2022-05-13 02:55:29 -05:00
run_tests.py Add a script to do all the work of running tests. 2022-05-13 13:04:09 -05:00
schema.sql fix: remove submissions.new field from db schema 2022-05-09 13:53:59 -05:00
seed-db.sql Add trailing LF to text files 2022-05-10 21:05:51 -04:00
site_settings.json Add trailing LF to text files 2022-05-10 21:05:51 -04:00
supervisord.conf Add trailing LF to text files 2022-05-10 21:05:51 -04:00

This code runs https://www.themotte.org

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/themotte/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.

Run the E2E tests:

./run_tests.py